Commit 5a3e4cb0 authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

Patch #429442 from Jason Tishler: Corrects sys.platform and

    distutils.util.get_platform() problems caused by the cruft contained
    in Cygwin's uname -s.
parent 79e75e19
......@@ -62,6 +62,7 @@ def get_platform ():
elif osname[:3] == "aix":
return "%s-%s.%s" % (osname, version, release)
elif osname[:6] == "cygwin":
osname = "cygwin"
rel_re = re.compile (r'[\d.]+')
m = rel_re.match(release)
if m:
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -64,6 +64,7 @@ then
MACHDEP="$ac_md_system$ac_md_release"
case $MACHDEP in
cygwin*) MACHDEP="cygwin";;
'') MACHDEP="unknown";;
esac
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment