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