Skip to content

Commit

Permalink
Add pathlib2 to install_requirements for python_version < 3.4 (#2205)
Browse files Browse the repository at this point in the history
The dynamic addition of the dependency which was used previously wasn't
included in the published egg on pypi.
  • Loading branch information
peace-maker committed Jul 9, 2023
1 parent 8b4cacf commit 8c62a58
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions setup.py
Expand Up @@ -65,11 +65,9 @@
'six>=1.12.0',
'rpyc',
'colored_traceback',
'pathlib2; python_version < "3.4"',
]

if platform.python_version_tuple()[0] == '2':
install_requires += ['pathlib2']

# Check that the user has installed the Python development headers
PythonH = os.path.join(get_python_inc(), 'Python.h')
if not os.path.exists(PythonH):
Expand Down

0 comments on commit 8c62a58

Please sign in to comment.