2 Commits

Author SHA1 Message Date
Ray Donnelly
7f9cc5b2b3 python2: Fix sys.prefix in a Cygwin friendly way
The same issue is can be reproduced on Cygwin so re-implement
the msys2-specific fix using cygwin_conv_path() instead.
2015-07-07 22:40:55 +01:00
Ray Donnelly
14f7216bcd python2: Fix sys.prefix when Windows drive in argv[0]
When using a Python virtualenv, and launching it with a Windows
or Windows mixed path (C:\msys64\tmp\virtualenv\bin\python.exe or
C:/msys64/tmp/virtualenv/bin/python.exe), sys.prefix would always
be returned incorrectly as '/usr'.
2015-07-06 22:02:23 +01:00