|
3 | 3 | from setuptools import setup
|
4 | 4 | import versioneer
|
5 | 5 |
|
6 |
| -with open('requirements.txt') as file: |
7 |
| - aiobotocore_version_suffix = '' |
| 6 | +with open("requirements.txt") as file: |
| 7 | + aiobotocore_version_suffix = "" |
8 | 8 | for line in file:
|
9 |
| - parts = line.rstrip().split('aiobotocore') |
| 9 | + parts = line.rstrip().split("aiobotocore") |
10 | 10 | if len(parts) == 2:
|
11 | 11 | aiobotocore_version_suffix = parts[1]
|
12 | 12 | break
|
13 | 13 |
|
14 |
| -setup(name='s3fs', |
15 |
| - version=versioneer.get_version(), |
16 |
| - cmdclass=versioneer.get_cmdclass(), |
17 |
| - classifiers=[ |
18 |
| - 'Development Status :: 4 - Beta', |
19 |
| - 'Intended Audience :: Developers', |
20 |
| - 'License :: OSI Approved :: BSD License', |
21 |
| - 'Operating System :: OS Independent', |
22 |
| - 'Programming Language :: Python :: 3.7', |
23 |
| - 'Programming Language :: Python :: 3.8', |
24 |
| - 'Programming Language :: Python :: 3.9', |
25 |
| - ], |
26 |
| - description='Convenient Filesystem interface over S3', |
27 |
| - url='http://github.com/fsspec/s3fs/', |
28 |
| - maintainer='Martin Durant', |
29 |
| - maintainer_email='[email protected]', |
30 |
| - license='BSD', |
31 |
| - keywords='s3, boto', |
32 |
| - packages=['s3fs'], |
33 |
| - python_requires='>= 3.7', |
34 |
| - install_requires=[open('requirements.txt').read().strip().split('\n')], |
35 |
| - extras_require={ |
36 |
| - 'awscli': [f"aiobotocore[awscli]{aiobotocore_version_suffix}"], |
37 |
| - 'boto3': [f"aiobotocore[boto3]{aiobotocore_version_suffix}"], |
38 |
| - }, |
39 |
| - zip_safe=False) |
| 14 | +setup( |
| 15 | + name="s3fs", |
| 16 | + version=versioneer.get_version(), |
| 17 | + cmdclass=versioneer.get_cmdclass(), |
| 18 | + classifiers=[ |
| 19 | + "Development Status :: 4 - Beta", |
| 20 | + "Intended Audience :: Developers", |
| 21 | + "License :: OSI Approved :: BSD License", |
| 22 | + "Operating System :: OS Independent", |
| 23 | + "Programming Language :: Python :: 3.7", |
| 24 | + "Programming Language :: Python :: 3.8", |
| 25 | + "Programming Language :: Python :: 3.9", |
| 26 | + ], |
| 27 | + description="Convenient Filesystem interface over S3", |
| 28 | + url="http://github.com/fsspec/s3fs/", |
| 29 | + maintainer="Martin Durant", |
| 30 | + maintainer_email="[email protected]", |
| 31 | + license="BSD", |
| 32 | + keywords="s3, boto", |
| 33 | + packages=["s3fs"], |
| 34 | + python_requires=">= 3.7", |
| 35 | + install_requires=[open("requirements.txt").read().strip().split("\n")], |
| 36 | + extras_require={ |
| 37 | + "awscli": [f"aiobotocore[awscli]{aiobotocore_version_suffix}"], |
| 38 | + "boto3": [f"aiobotocore[boto3]{aiobotocore_version_suffix}"], |
| 39 | + }, |
| 40 | + zip_safe=False, |
| 41 | +) |
0 commit comments