Bundling Python on Mac

Diez B. Roggisch deets at nospam.web.de
Fri Nov 30 07:48:56 EST 2007


Benjamin schrieb:
> On Nov 29, 2:34 am, "Diez B. Roggisch" <de... at nospam.web.de> wrote:
>> 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



More information about the Python-list mailing list