Skip to content

Commit ea82bb7

Browse files
authored
Fold full requirements inside requirement strings (#249)
1 parent 5e1c7f4 commit ea82bb7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

setup.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,15 +162,13 @@ def run(self):
162162
'matplotlib>=1.4',
163163
'graphviz>=0.4',
164164
'greenlet>=0.4.10',
165+
'ipython<6.0.0; python_version < "3"',
166+
'cython>=0.20; sys_platform != "win32"',
165167
]
166168
mars_requirements = [
167169
'pymars>=0.5.4',
168170
'protobuf>=3.6,<4.0',
169171
]
170-
if sys.version_info[0] == 2:
171-
full_requirements.append('ipython<6.0.0')
172-
if sys.platform != 'win32':
173-
full_requirements.append('cython>=0.20')
174172

175173
long_description = None
176174
if os.path.exists('README.rst'):

0 commit comments

Comments
 (0)