Patchwork [1,of,2] check for stable Plan 9 port

login
register
mail settings
Submitter Jeff Sickel
Date Nov. 24, 2014, 4:44 p.m.
Message ID <8913ec66bd1e4c9dd7f4.1416851063@cagoan0.buf.io>
Download mbox | patch
Permalink /patch/6840/
State Superseded
Headers show

Comments

Jeff Sickel - Nov. 24, 2014, 4:44 p.m.
# HG changeset patch
# User Jeff Sickel <jas@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

Patch

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)