mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Disable single-threaded build for pypy3.3
This commit is contained in:
parent
80e75876e9
commit
4f12862d6c
|
@ -54,7 +54,8 @@ def _mp_compile(self, sources, output_dir=None, macros=None,
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
|
|
||||||
fl_pypy3 = hasattr(sys, 'pypy_version_info') and sys.version_info > (3, 0)
|
fl_pypy3 = (hasattr(sys, 'pypy_version_info') and
|
||||||
|
(3, 0) < sys.version_info < (3, 3))
|
||||||
fl_win = sys.platform.startswith('win')
|
fl_win = sys.platform.startswith('win')
|
||||||
fl_cygwin = sys.platform.startswith('cygwin')
|
fl_cygwin = sys.platform.startswith('cygwin')
|
||||||
|
|
||||||
|
@ -82,4 +83,5 @@ def install():
|
||||||
print("Single threaded build, not installing mp_compile:"
|
print("Single threaded build, not installing mp_compile:"
|
||||||
"%s processes" % MAX_PROCS)
|
"%s processes" % MAX_PROCS)
|
||||||
|
|
||||||
|
|
||||||
install()
|
install()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user