gecko-dev/third_party/python/six/setup.py
Dave Hunt 5277a5a5cb Bug 1388340 - Vendor in six package for Python 2 and 3 compatibility; r=gps
MozReview-Commit-ID: JxtYnHOOZvy

--HG--
extra : rebase_source : 5f5226b94bdc03b877f9a34a262e04214bd415cb
2017-08-08 14:25:53 +01:00

33 lines
852 B
Python

from __future__ import with_statement
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import six
six_classifiers = [
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
]
with open("README", "r") as fp:
six_long_description = fp.read()
setup(name="six",
version=six.__version__,
author="Benjamin Peterson",
author_email="benjamin@python.org",
url="http://pypi.python.org/pypi/six/",
py_modules=["six"],
description="Python 2 and 3 compatibility utilities",
long_description=six_long_description,
license="MIT",
classifiers=six_classifiers
)