diff -rupN Python-2.7.13/Lib/compileall.py Python-2.7.13-new/Lib/compileall.py
--- Python-2.7.13/Lib/compileall.py 2016-12-17 21:05:05.000000000 +0100
+++ Python-2.7.13-new/Lib/compileall.py 2017-01-21 01:46:11.755551514 +0100
@@ -42,6 +42,8 @@ def compile_dir(dir, maxlevels=10, ddir=
success = 1
for name in names:
fullname = os.path.join(dir, name)
+ if sys.platform == "win32" and sys.version.find("GCC") >= 0:
+ fullname = fullname.replace('\\','/')
if ddir is not None:
dfile = os.path.join(ddir, name)
else: