[Pythonmac-SIG] Setting up locale on Mac - how should this been done?

2009-10-04 Thread Barry Scott
I have a wxPython application (PySVN WorkBench) that is a bundle. When the app runs the environment does not contain any of the usual variables that would be used to into the locale, LANG, LC_ALL etc. What I can see in the environment is __CF_USER_TEXT_ENCODING. I have failed to find details of

Re: [Pythonmac-SIG] Module build fails because distutils adds "-isysroot"

2009-10-04 Thread Ronald Oussoren
On 30 Sep, 2009, at 11:30, Patrick Näf wrote: Hi folks I'm currently writing a very simple Python module in C that provides an interface to libaprutil's MD5 routines. I compile my module using distutils, as per instructions in the "Building C and C++ Extensions with distutils" chapter of

Re: [Pythonmac-SIG] Module build fails because distutils adds "-isysroot"

2009-10-04 Thread Ronald Oussoren
On 30 Sep, 2009, at 18:17, Dave Peterson wrote: Hi Patrick, Patrick Näf wrote: ... my module's build fails miserably, like this: tharbad:~ patrick$ /Library/Frameworks/Python.framework/Versions/3.1/bin/python3.1 ./ setup.py build_ext --inplace running build_ext building 'aprmd5' extension

Re: [Pythonmac-SIG] Setting up locale on Mac - how should this been done?

2009-10-04 Thread Ronald Oussoren
On 4 Oct, 2009, at 19:53, Barry Scott wrote: I have a wxPython application (PySVN WorkBench) that is a bundle. When the app runs the environment does not contain any of the usual variables that would be used to into the locale, LANG, LC_ALL etc. What I can see in the environment is __CF_USER

Re: [Pythonmac-SIG] PIL and Snow Leopard

2009-10-04 Thread Christopher Barker
Jerry LeVan wrote: Snow Leopard seems to have severely broken my WxPython Postgresql database browser tool... two or three queries and the app locks up or dies. I have been trying to 'spiff up' its parent, a Tkinter based browser, which still works except that I appear to have lost PIL, Image an

Re: [Pythonmac-SIG] PIL and Snow Leopard

2009-10-04 Thread Robert Kern
On 2009-10-04 15:19 PM, Christopher Barker wrote: Clearly building PIL is an issue for you, but what about the other two? In particular, what wxPython issues are you having? I don't have Snow Leopard, but I'd like to know if there are wxPython issues for the future, and for when I distribute app

[Pythonmac-SIG] PIL and Snow Leopard

2009-10-04 Thread Jerry LeVan
On Oct 2, 2009, at 7:40 PM, Bill Janssen wrote: Jerry LeVan wrote: Is building PIL on Snow Leopard 'easy' I have the apple python (32/64) installed and the python.org 2.6.2 (32 bit) version installed. Yes, I just build it with /usr/bin/python, and it works fine. Assuming you have Xcode 3.2

[Pythonmac-SIG] PIL and Snow Leopard

2009-10-04 Thread Jerry LeVan
On Oct 2, 2009, at 7:40 PM, Bill Janssen wrote: Jerry LeVan wrote: Is building PIL on Snow Leopard 'easy' I have the apple python (32/64) installed and the python.org 2.6.2 (32 bit) version installed. Yes, I just build it with /usr/bin/python, and it works fine. Assuming you have Xcod