force environ when opening a subprocess (cythonize)
This commit is contained in:
parent
d82802f277
commit
71a81a6924
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ def do(fn):
|
||||||
package = '_'.join(parts[:-1])
|
package = '_'.join(parts[:-1])
|
||||||
|
|
||||||
# cythonize
|
# cythonize
|
||||||
subprocess.Popen([cython, fn]).communicate()
|
subprocess.Popen([cython, fn], env=os.environ).communicate()
|
||||||
|
|
||||||
if not package:
|
if not package:
|
||||||
print 'no need to rewrite', fn
|
print 'no need to rewrite', fn
|
||||||
|
|
Loading…
Reference in a new issue