storing setup.py (for py2exe) in other directory than main scriptdirectory

S

stefaan

Hello list,

I have the following problem after upgrading to python 2.5 and py2exe
0.6.6
It seems that py2exe is using the location of the setup.py file as its
search path, instead of the current
working folder. (This used to be different with an older version of
py2exe)

Can I tell py2exe somehow to use the current working directory as
search path instead of the location of the setup.py file ? Also: is
this a feature or a bug ?

The reason I am asking is because I'd like to keep the build scripts
in a "win32specific" subfolder of my code folder,
and then run the following command in the code folder:
python win32specific\setup.py py2exe

Alternative suggestions also welcome!

Best regards,
Stefaan.
 

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

Forum statistics

Threads
474,201
Messages
2,571,048
Members
47,651
Latest member
VeraPiw932

Latest Threads

Top