473,378 Members | 1,410 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,378 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 1319
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.