setup.py 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. #!/usr/bin/env python
  2. import sys
  3. extras = {}
  4. try:
  5. from setuptools import setup
  6. extras['zip_safe'] = False
  7. if sys.version_info < (2, 6):
  8. extras['install_requires'] = ['multiprocessing']
  9. except ImportError:
  10. from distutils.core import setup
  11. setup(name='futures',
  12. version='2.1.4',
  13. description='Backport of the concurrent.futures package from Python 3.2',
  14. author='Brian Quinlan',
  15. author_email='brian@sweetapp.com',
  16. maintainer='Alex Gronholm',
  17. maintainer_email='alex.gronholm+pypi@nextday.fi',
  18. url='http://code.google.com/p/pythonfutures',
  19. download_url='http://pypi.python.org/pypi/futures/',
  20. packages=['futures', 'concurrent', 'concurrent.futures'],
  21. license='BSD',
  22. classifiers=['License :: OSI Approved :: BSD License',
  23. 'Development Status :: 5 - Production/Stable',
  24. 'Intended Audience :: Developers',
  25. 'Programming Language :: Python :: 2.5',
  26. 'Programming Language :: Python :: 2.6',
  27. 'Programming Language :: Python :: 2.7',
  28. 'Programming Language :: Python :: 3',
  29. 'Programming Language :: Python :: 3.1'],
  30. **extras
  31. )