Packaging Python Apps

P

Peter

Are there commands that can be used to install python apps into a dummy tree
for later packaging? I would like to accomplish either of the following:

when I run python setup.py install

can I

1) deposit all files into a specified directory like when I do
make install DESTDIR=/foo

2) have a do-nothing install like
make -n install

Thx
 
S

Steve Holden

Peter said:
Are there commands that can be used to install python apps into a dummy tree
for later packaging? I would like to accomplish either of the following:

when I run python setup.py install

can I

1) deposit all files into a specified directory like when I do
make install DESTDIR=/foo

2) have a do-nothing install like
make -n install

Thx
For 1), wouldn't

python setup.py build

or its variants suffice.

regards
Steve
 
P

Peter

Steve Holden wrote:
snip
For 1), wouldn't

python setup.py build

or its variants suffice.

regards
Steve

Well, build would make all the files, but I would like to perform a pseudo
install so that I can see all that WOULD be installed. That way, I could
package it so it could be installed on another PC without having to run a
python script.

Thanks for the reply
 
I

Istvan Albert

Peter said:
1) deposit all files into a specified directory like when I do
make install DESTDIR=/foo

see:

python setup.py install --help
2) have a do-nothing install like
make -n install

python setup.py -n install

Istvan.
 

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
473,744
Messages
2,569,483
Members
44,902
Latest member
Elena68X5

Latest Threads

Top