setup.py 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import os
  4. import re
  5. import sys
  6. from setuptools import find_packages, setup
  7. install = [
  8. 'odfpy',
  9. 'openpyxl>=2.4.0',
  10. 'backports.csv;python_version<"3.0"',
  11. 'markuppy',
  12. # 'xlrd',
  13. # 'xlwt',
  14. 'pyyaml',
  15. ]
  16. setup(
  17. name='tablib',
  18. use_scm_version=True,
  19. setup_requires=['setuptools_scm'],
  20. description='Format agnostic tabular data library (XLS, JSON, YAML, CSV)',
  21. long_description=(open('README.md').read() + '\n\n' +
  22. open('HISTORY.md').read()),
  23. long_description_content_type="text/markdown",
  24. author='Kenneth Reitz',
  25. author_email='me@kennethreitz.org',
  26. maintainer='Jazzband',
  27. maintainer_email='roadies@jazzband.co',
  28. url='https://tablib.readthedocs.io',
  29. packages=find_packages(where="src"),
  30. package_dir={"": "src"},
  31. license='MIT',
  32. classifiers=[
  33. 'Development Status :: 5 - Production/Stable',
  34. 'Intended Audience :: Developers',
  35. 'Natural Language :: English',
  36. 'License :: OSI Approved :: MIT License',
  37. 'Programming Language :: Python',
  38. 'Programming Language :: Python :: 2',
  39. 'Programming Language :: Python :: 2.7',
  40. 'Programming Language :: Python :: 3',
  41. 'Programming Language :: Python :: 3.5',
  42. 'Programming Language :: Python :: 3.6',
  43. 'Programming Language :: Python :: 3.7',
  44. 'Programming Language :: Python :: 3.8',
  45. ],
  46. python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
  47. install_requires=install,
  48. extras_require={
  49. 'pandas': ['pandas'],
  50. },
  51. )