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

Bundling Python on Mac

P: n/a
Hello, I'm writing a Python/PyQt application. For my Mac distribution.
I would like to include all the needed libraries in the Mac bundle.
How should I go about doing this?
Nov 29 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Benjamin schrieb:
Hello, I'm writing a Python/PyQt application. For my Mac distribution.
I would like to include all the needed libraries in the Mac bundle.
How should I go about doing this?
The py2app distutils extension should do that for you. It works flawless
for PyObjc-apps for me - it _should_ do so for Qt as well, but I have to
admit that it sometimes had errors related to Qt when creating bundles -
so maybe you need to tweak the support a bit.

Diez
Nov 29 '07 #2

P: n/a
On Nov 29, 2:34 am, "Diez B. Roggisch" <de...@nospam.web.dewrote:
Benjamin schrieb:
Hello, I'm writing a Python/PyQt application. For my Mac distribution.
I would like to include all the needed libraries in the Mac bundle.
How should I go about doing this?

The py2app distutils extension should do that for you. It works flawless
for PyObjc-apps for me - it _should_ do so for Qt as well, but I have to
admit that it sometimes had errors related to Qt when creating bundles -
so maybe you need to tweak the support a bit.
Does it bundle the Python library with it, so there are no (excepting
system) dependencies?
>
Diez
Nov 30 '07 #3

P: n/a
Benjamin schrieb:
On Nov 29, 2:34 am, "Diez B. Roggisch" <de...@nospam.web.dewrote:
>Benjamin schrieb:
>>Hello, I'm writing a Python/PyQt application. For my Mac distribution.
I would like to include all the needed libraries in the Mac bundle.
How should I go about doing this?
The py2app distutils extension should do that for you. It works flawless
for PyObjc-apps for me - it _should_ do so for Qt as well, but I have to
admit that it sometimes had errors related to Qt when creating bundles -
so maybe you need to tweak the support a bit.
Does it bundle the Python library with it, so there are no (excepting
system) dependencies?
It does.

Diez
Nov 30 '07 #4

P: n/a
On Nov 30, 6:48 am, "Diez B. Roggisch" <de...@nospam.web.dewrote:
Benjamin schrieb:
On Nov 29, 2:34 am, "Diez B. Roggisch" <de...@nospam.web.dewrote:
Benjamin schrieb:
>Hello, I'm writing a Python/PyQt application. For my Mac distribution.
I would like to include all the needed libraries in the Mac bundle.
How should I go about doing this?
The py2app distutils extension should do that for you. It works flawless
for PyObjc-apps for me - it _should_ do so for Qt as well, but I have to
admit that it sometimes had errors related to Qt when creating bundles -
so maybe you need to tweak the support a bit.
Does it bundle the Python library with it, so there are no (excepting
system) dependencies?

It does.
Beautiful!
>
Diez
Dec 1 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.