Skip to content

Commit

Permalink
Workaround bug in Python 2.6 that makes python setup.py develop fails
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzogil committed Jun 1, 2016
1 parent 1b6f506 commit 04e7397
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ def parse_requirements(requirements_file):
if sys.version_info[0] < 3:
# packages that only work in Python 2.x
base_requirements += parse_requirements(join('requirements', 'python2.txt'))
# See https://bugs.python.org/msg170215
try:
import multiprocessing # NOQ
except ImportError:
pass

if platform.python_implementation() == 'PyPy':
base_requirements += parse_requirements(join('requirements', 'pypy.txt'))
Expand Down

0 comments on commit 04e7397

Please sign in to comment.