By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,218 Members | 1,111 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,218 IT Pros & Developers. It's quick & easy.

Packaging Python Apps

P: n/a
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
Jul 18 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Peter wrote:
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
--
http://www.holdenweb.com
http://pydish.holdenweb.com
Holden Web LLC +1 800 494 3119
Jul 18 '05 #2

P: n/a
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
Jul 18 '05 #3

P: n/a
Peter wrote:
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.
Jul 18 '05 #4

P: n/a
Istvan Albert wrote:
Peter wrote:
1) deposit all files into a specified directory like when I do
make install DESTDIR=/foo
see:

python setup.py install --help


That's PRECISELY what I needed. It looks just like configure!

Thanks a lot!

Istvan.


Jul 18 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.