File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ def read(fname):
10
10
return f .read ()
11
11
12
12
13
- install_requires = ['remoto>=1.1.4' ]
14
- pyversion = sys . version_info [: 2 ]
15
- if pyversion < ( 2 , 7 ) or ( 3 , 0 ) <= pyversion <= ( 3 , 1 ):
16
- install_requires . append ( 'argparse' )
17
- if pyversion < ( 3 , 0 ):
18
- install_requires . append ( 'configparser' )
19
-
13
+ install_requires = [
14
+ "remoto >= 1.1.4" ,
15
+ "argparse;python_version<'2.7'" ,
16
+ "argparse;'3.0'<=python_version<'3.2'" ,
17
+ "configparser;python_version<'3.0'" ,
18
+ "setuptools < 45.0.0;python_version<'3.0'" ,
19
+ "setuptools;python_version>='3.0'" ]
20
20
21
21
setup (
22
22
name = 'ceph-deploy' ,
@@ -31,9 +31,7 @@ def read(fname):
31
31
keywords = 'ceph deploy' ,
32
32
url = "https://github.com/ceph/ceph-deploy" ,
33
33
34
- install_requires = [
35
- 'setuptools' ,
36
- ] + install_requires ,
34
+ install_requires = install_requires ,
37
35
38
36
tests_require = [
39
37
'pytest >=2.1.3' ,
You can’t perform that action at this time.
0 commit comments