Skip to content

Commit

Permalink
Fix bad change to cythonize.py script, re subprocess call
Browse files Browse the repository at this point in the history
  • Loading branch information
syllog1sm committed Feb 16, 2017
1 parent ea05f78 commit c744ce4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/cythonize.py
Expand Up @@ -56,7 +56,7 @@ def process_pyx(fromfile, tofile):
try:
try:
r = subprocess.call(['cython'] + flags + ['-o', tofile, fromfile],
shell=True, env=os.environ) # See Issue #791
env=os.environ) # See Issue #791
if r != 0:
raise Exception('Cython failed')
except OSError:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -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], shell=True, env=os.environ)
source], env=os.environ)
if p != 0:
raise RuntimeError('Running cythonize failed')

Expand Down

0 comments on commit c744ce4

Please sign in to comment.