From a6bb9c17b8c00e500151506bcb673921a568bdd3 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sat, 24 Aug 2013 16:14:12 +0200 Subject: [PATCH] fix distutils build --- Tools/cystdlib.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tools/cystdlib.py b/Tools/cystdlib.py index 32c9d78..a9bf7ee 100644 --- a/Tools/cystdlib.py +++ b/Tools/cystdlib.py @@ -163,8 +163,8 @@ if __name__ == '__main__': parallel_jobs = 0 extensions = build_extensions(parallel=parallel_jobs) + sys_args = ['build_ext', '-i'] if pool is not None: - sys_args = ['-i'] results = pool.map(_build, [(sys_args, ext) for ext in extensions]) pool.close() pool.join() @@ -172,4 +172,5 @@ if __name__ == '__main__': if not result: print("building extension %s failed" % (ext[0].name,)) else: + sys.argv[1:] = sys_args build(extensions) -- 2.7.4