autoconfigure vss python question

John Machin sjmachin at lexicon.net
Fri Jun 24 21:33:34 CEST 2005


lode leroy wrote:
> 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

Any good reason for not using distutils?
See this:
http://www.python.org/doc/2.4.1/inst/tweak-flags.html#SECTION000622000000000000000




More information about the Python-list mailing list