mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Disable multiprocessing install on cygwin, fixes #1690
This commit is contained in:
parent
756d8a606e
commit
94c84b49f1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user