Skip to content

Commit 8c62a58

Browse files
authored
Add pathlib2 to install_requirements for python_version < 3.4 (Gallopsled#2205)
The dynamic addition of the dependency which was used previously wasn't included in the published egg on pypi.
1 parent 8b4cacf commit 8c62a58

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,9 @@
6565
'six>=1.12.0',
6666
'rpyc',
6767
'colored_traceback',
68+
'pathlib2; python_version < "3.4"',
6869
]
6970

70-
if platform.python_version_tuple()[0] == '2':
71-
install_requires += ['pathlib2']
72-
7371
# Check that the user has installed the Python development headers
7472
PythonH = os.path.join(get_python_inc(), 'Python.h')
7573
if not os.path.exists(PythonH):

0 commit comments

Comments
 (0)