Commit 01f3f960 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

[packaging] fix regression introduced by aefd37dbb754 leading to crash when...

[packaging] fix regression introduced by aefd37dbb754 leading to crash when installing python3 version of the lib on a linux platform
parent 85c903003289
......@@ -143,7 +143,7 @@ class MyBuildPy(build_py):
# brackets are NOT optional here for py3k compat
print('running 2to3 on', dest)
# Needs `shell=True` to run on Windows.
check_call(['2to3', '-wn', dest], shell=True)
check_call(['2to3', '-wn', dest], shell=sys.platform=='win32')
def install(**kwargs):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment