diff options
author | Mike Mueller <mmueller> | 2013-06-28 14:15:02 +0200 |
---|---|---|
committer | Mike Mueller <mmueller> | 2013-06-28 14:15:02 +0200 |
commit | 84ba539413f84d320a4a59db95d38361b054383e (patch) | |
tree | c0d850b0a25aecb26048ebe93e8a54b83f59f94d | |
parent | 081bd4dae7a4c725984d7ffcc5f8de58f8a92fe3 (diff) | |
download | logilab-common-84ba539413f84d320a4a59db95d38361b054383e.tar.gz |
Fixed: Install fails on Windows with Python 3.3. Calling subprocess with
`shell=True` works.
-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): |