Disable multiprocessing install on cygwin, fixes #1690

This commit is contained in:
wiredfool 2016-02-01 08:11:42 -08:00
parent 756d8a606e
commit 94c84b49f1

View File

@ -56,13 +56,14 @@ def install():
fl_pypy3 = hasattr(sys, 'pypy_version_info') and sys.version_info > (3, 0) fl_pypy3 = hasattr(sys, 'pypy_version_info') and sys.version_info > (3, 0)
fl_win = sys.platform.startswith('win') fl_win = sys.platform.startswith('win')
fl_cygwin = sys.platform.startswith('cygwin')
if fl_pypy3: if fl_pypy3:
# see https://github.com/travis-ci/travis-ci/issues/3587 # see https://github.com/travis-ci/travis-ci/issues/3587
print("Single threaded build for pypy3") print("Single threaded build for pypy3")
return return
if fl_win: if fl_win or fl_cygwin:
#windows barfs on multiprocessing installs #windows barfs on multiprocessing installs
print("Single threaded build for windows") print("Single threaded build for windows")
return return