setup.py 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. """setup.py - build script for parquet-python."""
  2. try:
  3. from setuptools import setup
  4. except ImportError:
  5. from distutils.core import setup
  6. with open('README.rst') as f:
  7. readme = f.read()
  8. setup(
  9. name='parquet',
  10. version='1.3.1',
  11. description='Python support for Parquet file format',
  12. long_description_content_type="text/x-rst",
  13. long_description=readme,
  14. author='Joe Crobak',
  15. author_email='joecrow@gmail.com',
  16. url='https://github.com/jcrobak/parquet-python',
  17. license='Apache License 2.0',
  18. classifiers=[
  19. 'Development Status :: 3 - Alpha',
  20. 'Intended Audience :: Developers',
  21. 'Intended Audience :: System Administrators',
  22. 'License :: OSI Approved :: Apache Software License',
  23. 'Programming Language :: Python',
  24. 'Programming Language :: Python :: 2',
  25. 'Programming Language :: Python :: 3',
  26. 'Programming Language :: Python :: 2.7',
  27. 'Programming Language :: Python :: 3.6',
  28. 'Programming Language :: Python :: 3.7',
  29. 'Programming Language :: Python :: Implementation :: CPython',
  30. 'Programming Language :: Python :: Implementation :: PyPy',
  31. ],
  32. packages=['parquet'],
  33. install_requires=[
  34. 'thriftpy2',
  35. ],
  36. extras_require={
  37. ':python_version=="2.7"': [
  38. "backports.csv",
  39. ],
  40. 'snappy': [
  41. 'python-snappy',
  42. ],
  43. },
  44. entry_points={
  45. 'console_scripts': [
  46. 'parquet = parquet.__main__:main',
  47. ]
  48. },
  49. package_data={'parquet': ['*.thrift']},
  50. include_package_data=True,
  51. )