[PATCH 1 of 2] check for stable Plan 9 port

Jeff Sickel jas at buf.io
Mon Nov 24 16:44:23 UTC 2014


# HG changeset patch
# User Jeff Sickel <jas at corpus-callosum.com>
# Date 1416848458 21600
#      Mon Nov 24 11:00:58 2014 -0600
# Branch stable
# Node ID 8913ec66bd1e4c9dd7f4f50c96e8d6d0e3dd963a
# Parent  643c58303fb0ec020907af28b9e486be299ba043
check for stable Plan 9 port

diff -r 643c58303fb0 -r 8913ec66bd1e setup.py
--- a/setup.py	Mon Nov 10 10:44:42 2014 -0800
+++ b/setup.py	Mon Nov 24 11:00:58 2014 -0600
@@ -141,7 +141,7 @@
     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)


More information about the Mercurial-devel mailing list