473,395 Members | 1,919 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,395 software developers and data experts.

Bundling Python on Mac

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

Similar topics

1
by: Emile van Sebille | last post by:
QOTW: "If we get 2.3.3c1 out in early December, we could release 2.3.3 final before the end of the year, and start 2004 with a 100% bug-free codebase <wink>." -- Tim Peters "cjOr proWe vbCould...
6
by: Ben Finney | last post by:
Howdy all, I'm improving an existing application that's partly written using Python and the standard library. Many of the improvements I want to make can be done by using third-party free...
1
by: Randall Smith | last post by:
I'd like to bundle Python with my app, which will be targeted at Linux, Windows and Mac. Discussions I've found about this tend to lead to py2exe, freeze, etc, but I'd like to do something rather...
1
by: lttan123 | last post by:
Bundling framework in a setup file Hi there, hope someone can help me out in this. i am creating an application to check if .net framework 3.5 is installed. If not installed i will...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.