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

Python packages on the Mac

P: n/a
Hi,

I would like to copy the contents of the PythonFramework.pkg folder
and run python without having to run the installer on the Mac. On
windows it's simple to copy the contents of the python folder and the
python dll's. How can this be done on the Mac?

Thanks
Sunil
Aug 5 '08 #1
Share this Question
Share on Google+
4 Replies

P: n/a
On Aug 4, 11:20*pm, arunasu...@gmail.com wrote:
Hi,

I would like to copy the contents of the PythonFramework.pkg folder
and run python without having to run the installer on the Mac. On
windows it's simple to copy the contents of the python folder and the
python dll's. How can this be done on the Mac?

Thanks
Sunil
Are you trying to make a script for easy distribution without having
to first install Python? Look here: http://undefined.org/python/py2app.html
Aug 5 '08 #2

P: n/a
ar********@gmail.com wrote:
Hi,

I would like to copy the contents of the PythonFramework.pkg folder
and run python without having to run the installer on the Mac. On
windows it's simple to copy the contents of the python folder and the
python dll's. How can this be done on the Mac?

Thanks
Sunil
There are a few GUI tools to unpack a pkg bundle on the Mac: here's one
I like:

http://www.timdoug.com/unpkg/

This will unpack the contents into a separate directory.

If you would rather do it from the command line, cd into the package
bundle, find the Archive.pax.gz file, and try this command:

gzcat Archive.pax.gz | pax -r

"man pax" can tell you more about the pax command, pkg bundles, and the
like.

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
Aug 5 '08 #3

P: n/a
On Aug 5, 5:33*am, Jeff <jeffo...@gmail.comwrote:
On Aug 4, 11:20*pm, arunasu...@gmail.com wrote:
Hi,
I would like to copy the contents of the PythonFramework.pkg folder
and run python without having to run the installer on the Mac. On
windows it's simple to copy the contents of the python folder and the
python dll's. How can this be done on the Mac?
Thanks
Sunil

Are you trying to make a script for easy distribution without having
to first install Python? *Look here:http://undefined.org/python/py2app.html
This is cool. Will this work with Python 2.5.2?

Sunil
Aug 14 '08 #4

P: n/a
On Aug 5, 5:33*am, Jeff <jeffo...@gmail.comwrote:
On Aug 4, 11:20*pm, arunasu...@gmail.com wrote:
Hi,
I would like to copy the contents of the PythonFramework.pkg folder
and run python without having to run the installer on the Mac. On
windows it's simple to copy the contents of the python folder and the
python dll's. How can this be done on the Mac?
Thanks
Sunil

Are you trying to make a script for easy distribution without having
to first install Python? *Look here:http://undefined.org/python/py2app.html
In this case, I do not want to make a distribution package. On windows
I am able to copy the contents of Python25 and a few pydll's to the
same directory and run python on a machine which doesn't have python
installed. Mac doing the same doesn't work.

This allows me to distribute various scripts for different purposes to
be executed by the user within my group.

Sunil
Aug 14 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.