Hello,

We are looking to package and distribute a small python app that uses
PyQt. We've had good success on Windows with py2exe, it's a very small
app with one native module, and we end up with a package that's around
10 MB.

I worked on obtaining the same packaging for the Mac with py2app, and
the best I can get is something close to 100 MB. That would probably
be fine if it was a larger application to begin with, but that's a
hard sale for our little script.

I'm hoping this can be reduced, but I'm not sure how to get there.
Here's a bit of info on the setup:

- OSX 10.5, targetting 10.5 and 10.6 using stock python (2.5 from Apple)
- Qt libraries from
http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x
(4.6.2 cocoa for OSX 10.5/10.6)
- Installed and compiled the latest sip and PyQt from
http://www.riverbankcomputing.co.uk/ (4.7.3)

Questions:

- Can I distribute only sip/pyqt etc., and have users do a one time
standalone installation of the Qt package?
- Can I skip the packaging of python itself, since I use stock Python
2.5 present on 10.5 and 10.6 releases?

Beyond that I noticed a few issues while working with py2app .. I can
go into more detail if there are developers here actively tracking
py2app stuff..

TTimo
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to