Re: [Pythonmac-SIG] Py2app zlib import error

2011-06-28 Thread Ronald Oussoren
On 21 Jun, 2011, at 7:47, Brian Zambrano wrote: > I have a PyQt app which I've been compiling successfully for over a year on > OS X 10.5. I've recently upgraded to a new system running 10.6, and my > py2app builds are failing to boot after compilation. After some poking > around, it looks l

Re: [Pythonmac-SIG] [py2app] optimize and includes

2011-06-28 Thread Ronald Oussoren
On 18 Jun, 2011, at 16:38, Jeffrey O'Neill wrote: > I'm using the latest py2app. > > Since my app uses __import__ to load some modules, I list those modules in > the include option. > > This works great when optimization is turned off, but when I turn > optimization on (1 or 2), the modules

Re: [Pythonmac-SIG] [py2app] optimize and includes

2011-06-28 Thread Jeffrey O'Neill
Thanks for fixing this. If it matters, I need 32-bit only code to support older versions of OS X but I don't need to support PPC (shouldn't be too many of those around anymore...). On Tue, Jun 28, 2011 at 8:08 AM, Ronald Oussoren wrote: > > On 18 Jun, 2011, at 16:38, Jeffrey O'Neill wrote: > > I

Re: [Pythonmac-SIG] Py2app zlib import error

2011-06-28 Thread Ronald Oussoren
On 23 Jun, 2011, at 18:18, Brian Zambrano wrote: > It smells of a py2app issue to me as well...something with the path settings. Something else to try: there is an __boot__.py inside the generated application bundle. Add the following line to the top of that file: import sys; print (sys.path)

Re: [Pythonmac-SIG] [py2app] optimize and includes

2011-06-28 Thread Ronald Oussoren
On 28 Jun, 2011, at 15:18, Jeffrey O'Neill wrote: > Thanks for fixing this. > > If it matters, I need 32-bit only code to support older versions of OS X but > I don't need to support PPC (shouldn't be too many of those around > anymore...). If your python was build using '--with-universal-arc

[Pythonmac-SIG] python characters on a mac?

2011-06-28 Thread Joseph Grcar
Hello, I was directed to send the following query to this email address. I am using Python 2.5.1 (r251:54863, Dec 16 2010, 14:12:43) on mac OS 1.5. How does one set up the character manipulation in python to avoid mangling foreign-language characters (i.e., French accents, German umlauts