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')