mirror of https://github.com/explosion/spaCy.git
Pass shell to cythonize.py. See Issue #791
This commit is contained in:
parent
071d11cb35
commit
0836cbe064
2
setup.py
2
setup.py
|
@ -144,7 +144,7 @@ def generate_cython(root, source):
|
||||||
print('Cythonizing sources')
|
print('Cythonizing sources')
|
||||||
p = subprocess.call([sys.executable,
|
p = subprocess.call([sys.executable,
|
||||||
os.path.join(root, 'bin', 'cythonize.py'),
|
os.path.join(root, 'bin', 'cythonize.py'),
|
||||||
source])
|
source], shell=True, env=os.environ)
|
||||||
if p != 0:
|
if p != 0:
|
||||||
raise RuntimeError('Running cythonize failed')
|
raise RuntimeError('Running cythonize failed')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue