Mercurial > hg > mercurial-crew
diff setup.py @ 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 | c4ce077588d0 |
children | 9641643fac71 |
line wrap: on
line diff
--- a/setup.py +++ b/setup.py @@ -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)