autoconfigure vss python question

lode leroy lode_leroy at hotmail.com
Fri Jun 24 15:52:17 CEST 2005


Hi folks,

I'm trying to build a python module using MINGW on MSYS
the "configure" script is determining where python is installed as follows:

python.exe -c 'import sys; print sys.prefix'
c:\Python24

which is good on native windows (i.e. when invoked from CMD.EXE)

Is there a way to configure something in python or in the environment
so that when invoked from MSYS, it would behave as follows: (note the '/' 
vss '\')

python.exe -c 'import sys; print sys.prefix'
c:/Python24


thanks.





More information about the Python-list mailing list