Patch #429442 from Jason Tishler: Corrects sys.platform and
    distutils.util.get_platform() problems caused by the cruft contained
    in Cygwin's uname -s.
diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py
index 01abd34..25ddbdf 100644
--- a/Lib/distutils/util.py
+++ b/Lib/distutils/util.py
@@ -62,6 +62,7 @@
     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: