[Pythonmac-SIG] py2app and bdist_mpkg on Linux?

Kaer Buhez kaerbuhez at gmail.com
Wed Aug 27 13:39:32 CEST 2008


Arne Babenhauserheide
(http://mail.python.org/pipermail/pythonmac-sig/2008-May/020023.html)
wrote:
>The use of py2app on GNU/Linux is, that I want to distribute apps to non-linux
>users, but I don't have MacOSX running anywhere near.
>
>I develop on my Gentoo Box, and I want to be able to create programs for
>friends of mine who use MacOSX.
>
>Python is cross platform, but to really use that advantage, I need to be able
>to distribute Python programs for individual platforms easily.
>
>And I want to enable other Linux users to do the same.

Kevin Walzer (http://mail.python.org/pipermail/pythonmac-sig/2008-May/020024.html)
wrote:
>If you want to distribute standalone apps with the Python interpreter
>embedded, that can't be done in a cross-platform manner. A Python binary
>built on Linux won't run on OS X.

Ronald Oussoren
(http://mail.python.org/pipermail/pythonmac-sig/2008-May/020046.html)
wrote:
>It should in theory be possible to enhance py2app to support this. The
>Carbon.File dependency is only needed for alias builds, and those are
>only useful during development anyway.
>
>I'd be surprised if this works out of the box though, first of all
>distutils isn't very well suited to cross-compilation anyway and
>py2app probably has hardcoded locations that won't exist on you're
>Gentoo box.
>
>And as a final observation: distributing builds without testing is
>wishful thinking. It would be much more worthwhile to ask one of
>you're friends if you can use their system to do the initial debugging
>on MacOSX and afterwards ask them to build the MacOSX binaries for you.

I develop a standalone cross-platform python/wxpython app on linux and
I have exactly the same concern (on ubuntu). I would make sure that
there is no simple solution to use py2app on linux to build the
comprehensive bundle (with a python interpreter and wxpython in it)
that I can send to mac os x users.

I planned to use one (not two) mac to test the bundle anyway and I
could use it to run py2app. My concern is that I need to test the
bundle on this mac afterwards and I am afraid that my (wx)python
installs will false the test. Then my question: what is the best way
to install python and test afterwards ? different users, uninstall
everything ... how ?

Thx in advance for your ideas, suggestions ...

KB


More information about the Pythonmac-SIG mailing list