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