forked from fsspec/filesystem_spec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
78 lines (72 loc) · 2.39 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#!/usr/bin/env python
import os
from setuptools import setup
import versioneer
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
extras_require = {
"entrypoints": [],
"abfs": ["adlfs"],
"adl": ["adlfs"],
"dask": ["dask", "distributed"],
"dropbox": ["dropboxdrivefs", "requests", "dropbox"],
"gcs": ["gcsfs"],
"git": ["pygit2"],
"github": ["requests"],
"gs": ["gcsfs"],
"hdfs": ["pyarrow >= 1"],
"arrow": ["pyarrow >= 1"],
"http": ["requests", "aiohttp !=4.0.0a0, !=4.0.0a1"],
"sftp": ["paramiko"],
"s3": ["s3fs"],
"oci": ["ocifs"],
"smb": ["smbprotocol"],
"ssh": ["paramiko"],
"fuse": ["fusepy"],
"libarchive": ["libarchive-c"],
"gui": ["panel"],
"tqdm": ["tqdm"],
}
# To simplify full installation
extras_require["full"] = sorted(set(sum(extras_require.values(), [])))
extras_require["devel"] = [
"pytest",
"pytest-cov",
# might want to add other optional depends which are used exclusively
# in the tests or not listed/very optional for other extra depends, e.g.
# 'pyftpdlib',
# 'fastparquet',
]
setup(
name="fsspec",
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.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
description="File-system specification",
long_description=long_description,
long_description_content_type="text/markdown",
url="http://github.com/fsspec/filesystem_spec",
project_urls={
"Changelog": "https://filesystem-spec.readthedocs.io/en/latest/changelog.html",
"Documentation": "https://filesystem-spec.readthedocs.io/en/latest/",
},
maintainer="Martin Durant",
maintainer_email="[email protected]",
license="BSD",
keywords="file",
packages=["fsspec", "fsspec.implementations", "fsspec.tests.abstract"],
python_requires=">=3.8",
install_requires=open("requirements.txt").read().strip().split("\n"),
extras_require=extras_require,
zip_safe=False,
)