Mercurial > hg
changeset 23392:d66547df8207
plan9: setup check for current python build
author | Jeff Sickel <jas@corpus-callosum.com> |
---|---|
date | Tue, 25 Nov 2014 02:27:31 -0600 |
parents | d8cdd46f426d |
children | c834c0194dbb |
files | setup.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py Wed Nov 19 22:27:55 2014 -0500 +++ b/setup.py Tue Nov 25 02:27:31 2014 -0600 @@ -141,7 +141,8 @@ py2exeloaded = False def runcmd(cmd, env): - if sys.platform == 'plan9': + if (sys.platform == 'plan9' + and (sys.version_info[0] == 2 and sys.version_info[1] < 7)): # subprocess kludge to work around issues in half-baked Python # ports, notably bichued/python: _, out, err = os.popen3(cmd)