Hi

I am new to this list. I have a Windows/Linux developed wxPython program
that I need to create a OSX version for that runs on various OSX platforms.

I modified the app to run on OSX from my source directory, and now it runs
correctly from there (I use Snow Leopard).

I have forced the OSX supplied Python to run in 32-bit using
VERSIONER_PYTHON_PREFER_32_BIT=yes, because some of my modules require that,
and I can't fix those. I use appscript, twisted, and plan to use WebKit,
which appararently only runs 32-bit.

I am playing with py2app to create a bundle of my app, but I run into
problems:

1. py2app seems to work, but the created app seems to run in 64-bit
   even if I do the 'defaults write com.apple.versioner.python Prefer-32-Bit 
-bool yes'
   command. I get the 'module' object has no attribute TickCount error, which
   according to Google means I am running in 64-bit mode.

2. I read on this list that I should not use the Apple-supplied Python, because
   py2app is setup to NOT include that in the build, and this way I cannot
   distribute my app. the posting said to build python2.6 from python.org,
   install all my modules, and work from there.

3. I have had bad experience so far building WebKit, because I used macports to
   get git, and that apparently took over my build environment, and that's why
   building WebKit failed. I am afraid macports is getting in the way here too.

So what is the best way to handle this?

Thanks,
Antonio.
_______________________________________________
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