@@ -46,58 +46,8 @@ def run(self):
46
46
_build_py .run (self )
47
47
48
48
49
- install_requires = [
50
- "ply>=3.9" , # See https://github.com/pyinstaller/pyinstaller/issues/1945
51
- "colorama>=0.3.9" ,
52
- "configobj>=5.0.6" ,
53
- "gitpython>3" ,
54
- "dulwich>=0.20.23" ,
55
- "pygit2>=1.5.0" ,
56
- "setuptools>=34.0.0" ,
57
- "nanotime>=0.5.2" ,
58
- "pyasn1>=0.4.1" ,
59
- "voluptuous>=0.11.7" ,
60
- "requests>=2.22.0" ,
61
- "grandalf==0.6" ,
62
- "distro>=1.3.0" ,
63
- "appdirs>=1.4.3" ,
64
- "ruamel.yaml>=0.17.11" ,
65
- "toml>=0.10.1" ,
66
- "funcy>=1.14" ,
67
- "pathspec>=0.6.0,<0.9.0" ,
68
- "shortuuid>=0.5.0" ,
69
- "tqdm>=4.45.0,<5" ,
70
- "packaging>=19.0" ,
71
- "zc.lockfile>=1.2.1" ,
72
- "flufl.lock>=3.2,<4" ,
73
- "win-unicode-console>=0.5; sys_platform == 'win32'" ,
74
- "pywin32>=225; sys_platform == 'win32' and python_version < '3.10'" ,
75
- "networkx>=2.5" ,
76
- "psutil>=5.8.0" ,
77
- "pydot>=1.2.4" ,
78
- "speedcopy>=2.0.1; python_version < '3.8' and sys_platform == 'win32'" ,
79
- "dataclasses==0.7; python_version < '3.7'" ,
80
- "importlib-metadata>=1.4; python_version < '3.8'" ,
81
- "flatten_dict>=0.4.1,<1" ,
82
- "tabulate>=0.8.7" ,
83
- "pygtrie>=2.3.2" ,
84
- "dpath>=2.0.1,<3" ,
85
- "shtab>=1.3.4,<2" ,
86
- "rich>=10.0.0" ,
87
- "dictdiffer>=0.8.1" ,
88
- "python-benedict>=0.21.1" ,
89
- "pyparsing==2.4.7" ,
90
- "typing_extensions>=3.7.4; python_version < '3.10'" ,
91
- # until https://github.com/python/typing/issues/865 is fixed for python3.10
92
- "typing_extensions==3.10.0.0; python_version >= '3.10'" ,
93
- "fsspec[http]>=2021.8.1" ,
94
- "aiohttp-retry==2.4.5" ,
95
- "diskcache>=5.2.1" ,
96
- ]
97
-
98
-
99
49
# Extra dependencies for remote integrations
100
- extra_requirements = {
50
+ requirements = {
101
51
path .stem : path .read_text ().strip ().splitlines ()
102
52
for path in Path ("requirements" ).glob ("*.txt" )
103
53
}
@@ -107,12 +57,14 @@ def run(self):
107
57
# requirements, including kerberos itself. Once all the wheels are available,
108
58
# we can start shipping it by default.
109
59
110
- extra_requirements ["all" ] = [
60
+ install_requires = requirements .pop ("default" )
61
+ requirements ["all" ] = [
111
62
requirements
112
- for key , requirements in extra_requirements .items ()
63
+ for key , requirements in requirements .items ()
113
64
if key not in ("tests" , "ssh_gssapi" , "terraform" )
114
65
]
115
- extra_requirements ["tests" ] += extra_requirements ["terraform" ]
66
+ requirements ["tests" ] += requirements ["terraform" ]
67
+ requirements ["dev" ] = requirements ["all" ] + requirements ["tests" ]
116
68
117
69
setup (
118
70
name = "dvc" ,
@@ -126,7 +78,7 @@ def run(self):
126
78
download_url = "https://github.com/iterative/dvc" ,
127
79
license = "Apache License 2.0" ,
128
80
install_requires = install_requires ,
129
- extras_require = extra_requirements ,
81
+ extras_require = requirements ,
130
82
keywords = "data-science data-version-control machine-learning git"
131
83
" developer-tools reproducibility collaboration ai" ,
132
84
python_requires = ">=3.6" ,
0 commit comments