# HG changeset patch # User Jeff Sickel # Date 1416904051 21600 # Node ID d66547df82075ae320d62457ffd82b75d1cb0307 # Parent d8cdd46f426dbb851d8bc7e5047ab65bba030993 plan9: setup check for current python build diff -r d8cdd46f426d -r d66547df8207 setup.py --- 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)