From 0836cbe0646d758b81f645925c1223af609b418c Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 17 Feb 2017 01:06:06 +1100 Subject: [PATCH] Pass shell to cythonize.py. See Issue #791 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 585cb1025..035f98f1c 100644 --- a/setup.py +++ b/setup.py @@ -144,7 +144,7 @@ def generate_cython(root, source): print('Cythonizing sources') p = subprocess.call([sys.executable, os.path.join(root, 'bin', 'cythonize.py'), - source]) + source], shell=True, env=os.environ) if p != 0: raise RuntimeError('Running cythonize failed')