setup.py
changeset 23392 d66547df8207
parent 23142 c4ce077588d0
child 23646 9641643fac71
--- 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)