setup.py 908 B

12345678910111213141516171819202122232425262728
  1. from setuptools import setup
  2. def fread(fn):
  3. return open(fn, 'rb').read().decode('utf-8')
  4. setup(
  5. name='backports.csv',
  6. description='Backport of Python 3 csv module',
  7. long_description=fread('README.rst') + '\n\n' + fread('HISTORY.rst'),
  8. author='Ryan Hiebert',
  9. author_email='ryan@ryanhiebert.com',
  10. url='https://github.com/ryanhiebert/backports.csv',
  11. version='1.0.2',
  12. py_modules=['backports.csv'],
  13. namespace_packages=['backports'],
  14. classifiers=[
  15. 'Programming Language :: Python',
  16. 'Programming Language :: Python :: 2',
  17. 'Programming Language :: Python :: 2.6',
  18. 'Programming Language :: Python :: 2.7',
  19. 'Programming Language :: Python :: 3',
  20. 'Programming Language :: Python :: 3.3',
  21. 'Programming Language :: Python :: 3.4',
  22. 'Programming Language :: Python :: 3.5',
  23. ],
  24. package_dir={'': 'src'},
  25. )