Disable single-threaded build for pypy3.3

This commit is contained in:
hugovk 2017-06-08 23:55:40 +03:00
parent 80e75876e9
commit 4f12862d6c

View File

@ -54,7 +54,8 @@ def _mp_compile(self, sources, output_dir=None, macros=None,
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_cygwin = sys.platform.startswith('cygwin')
@ -82,4 +83,5 @@ def install():
print("Single threaded build, not installing mp_compile:"
"%s processes" % MAX_PROCS)
install()