autoconfigure vss python question

L

lode leroy

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.
 
J

John Machin

lode said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,059
Members
48,769
Latest member
Clifft

Latest Threads

Top