From: Stephen L. <ste...@st...> - 2014-04-29 21:45:26
|
Ray Donnelly <min...@gm...> writes: > Which python do you mean here? There are many: > > mingw64/mingw-w64-x86_64-python2 2.7.6-10 [installed] > A high-level scripting language (mingw-w64) This one; it was installed by mingw-w64-x86_64-toolchain. > msys/python2 should never use '\'. Ah, yes. I keep forgetting when I need to use msys tools, and when I need to use mingw. I'll get used to it about the time I'm done building monotone :). > mingw*/python* should check for env. variable MSYSTEM being set > (indicating it is running under the MSYS2 bash shell), and if it is > set then '/' is used as os.sep, otherwise '\' is used (in-case you run > it from cmd.exe with scripts that assume os.sep on Windows to be '\'). export MSYSTEM=MSYS fixes my problem, using mingw/python Thanks. -- -- Stephe |