diff options
-rw-r--r-- | setup.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -140,8 +140,10 @@ class MyBuildPy(build_py): if sys.version_info >= (3, 0): # process manually python file in include_dirs (test data) from subprocess import check_call - print('running 2to3 on', dest) # brackets are NOT optional here for py3k compat - check_call(['2to3', '-wn', dest]) + # 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) def install(**kwargs): |