473,399 Members | 2,278 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Packaging Python Apps

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
4 1456
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: J | last post by:
Hi everyone, I have created an App that embedds the python interpreter and I am now in the process of creating an installer. I am currently linking python24.lib, but it is only 184k and I...
0
by: Benji York | last post by:
Please join us September 14, 7:30-9:00 PM, for the fourth meeting of the Fredericksburg, VA Zope and Python User Group ("ZPUG"). This meeting has three features of note. - Fred Drake, Zope...
2
by: Rajarshi Guha | last post by:
Hi, I've been trying to package a python project and I'm a little confused about how I distribute some PNG's that the program uses as icons. Using distutils I can set the data_files argument of...
1
by: schwehr | last post by:
Hi All, I am rearranging the layout of one of my python projects so that it more closely conforms to how most python projects seem to work. I now have a structure like this: seismic-py -...
3
by: Sandro Dentella | last post by:
Hi everybody, I'm trying to fix the packaging of a very simple package, but some problem show me that I have not well understood the whole mechanism The structure of my package (some debug...
1
by: Brian Blais | last post by:
Hello, What is the preferred way of packaging python programs? I know a bit about py2exe (windows) and freeze (linux), but is there a way to package something if you assume that they have...
15
by: John Nagle | last post by:
I've been installing Python and its supporting packages on a dedicated server with Fedora Core 6 for about a day now. This is a standard dedicated rackmount server in a colocation facility,...
60
by: jim | last post by:
I am looking for an application that will wrap my .Net application (and any needed .Net parts) into a single exe. I know of Thinstall ($4,000 for application and per copy fees for your exes) and...
1
by: SPE - Stani's Python Editor | last post by:
Hi All, If you wrote some python code that you want to package or know a cool python application of which you like to make a deb installer, the python packaging session is all for you! Do you...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.