plan9: setup check for current python build
authorJeff Sickel <jas@corpus-callosum.com>
Tue, 25 Nov 2014 02:27:31 -0600
changeset 23392 d66547df8207
parent 23391 d8cdd46f426d
child 23393 c834c0194dbb
plan9: setup check for current python build
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)