setup.py 852 B

1234567891011121314151617181920212223242526272829303132
  1. from __future__ import with_statement
  2. try:
  3. from setuptools import setup
  4. except ImportError:
  5. from distutils.core import setup
  6. import six
  7. six_classifiers = [
  8. "Programming Language :: Python :: 2",
  9. "Programming Language :: Python :: 3",
  10. "Intended Audience :: Developers",
  11. "License :: OSI Approved :: MIT License",
  12. "Topic :: Software Development :: Libraries",
  13. "Topic :: Utilities",
  14. ]
  15. with open("README", "r") as fp:
  16. six_long_description = fp.read()
  17. setup(name="six",
  18. version=six.__version__,
  19. author="Benjamin Peterson",
  20. author_email="benjamin@python.org",
  21. url="http://pypi.python.org/pypi/six/",
  22. py_modules=["six"],
  23. description="Python 2 and 3 compatibility utilities",
  24. long_description=six_long_description,
  25. license="MIT",
  26. classifiers=six_classifiers
  27. )