setup.py 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #!/usr/bin/env python
  2. from setuptools import setup, find_packages
  3. with open("fs_s3fs/_version.py") as f:
  4. exec(f.read())
  5. CLASSIFIERS = [
  6. "Development Status :: 4 - Beta",
  7. "Intended Audience :: Developers",
  8. "License :: OSI Approved :: MIT License",
  9. "Operating System :: OS Independent",
  10. "Programming Language :: Python",
  11. "Programming Language :: Python :: 2.7",
  12. "Programming Language :: Python :: 3.3",
  13. "Programming Language :: Python :: 3.4",
  14. "Programming Language :: Python :: 3.5",
  15. "Programming Language :: Python :: 3.6",
  16. "Programming Language :: Python :: 3.7",
  17. "Topic :: System :: Filesystems",
  18. ]
  19. with open("README.rst", "rt") as f:
  20. DESCRIPTION = f.read()
  21. REQUIREMENTS = ["boto3~=1.9", "fs~=2.4", "six~=1.10"]
  22. setup(
  23. name="fs-s3fs",
  24. author="Will McGugan",
  25. author_email="willmcgugan@gmail.com",
  26. classifiers=CLASSIFIERS,
  27. description="Amazon S3 filesystem for PyFilesystem2",
  28. install_requires=REQUIREMENTS,
  29. license="MIT",
  30. long_description=DESCRIPTION,
  31. packages=find_packages(),
  32. keywords=["pyfilesystem", "Amazon", "s3"],
  33. platforms=["any"],
  34. test_suite="nose.collector",
  35. url="https://github.com/PyFilesystem/s3fs",
  36. version=__version__,
  37. entry_points={"fs.opener": ["s3 = fs_s3fs.opener:S3FSOpener"]},
  38. )