Re: [Pythonmac-SIG] py2app and python versions

2010-07-26 Thread Christopher Barker
Ronald Oussoren wrote: Hi, What is the minimal python version that peoply actually use py2app with? 2.6.* for me -- I have some older stuff still on 2.5.*, but I'm perfectly happy to port that when I need to update. Backward compatibility is nice, but if it gets in the way of getting thing

Re: [Pythonmac-SIG] Built application not compatible with packaged .so files.

2010-07-26 Thread Tom MacWright
Okay, so the error, which has only become familiar in the past 24 hours :/ is: I switch to Python.org-distributed 2.6 by putting the Library Python bins in my path, before system python. I run py2app the first time, and it fails with this traceback: http://dpaste.com/222043/ As a result, I've tr

Re: [Pythonmac-SIG] Built application not compatible with packaged .so files.

2010-07-26 Thread Ronald Oussoren
On 26 Jul, 2010,at 04:32 PM, Tom MacWright wrote:For reference, which Python distribution, OS, etc, are you using? I'd be perfectly happy to change any part of my setup if there's something that's known to work. As it stands, I'm using Python 2.6 from Python.org, Snow Leopard, and running into a t

Re: [Pythonmac-SIG] py2app problems with spawn

2010-07-26 Thread Nicholas Riley
On Sun, Jul 25, 2010 at 11:35:04PM -0400, Tom MacWright wrote: > * Restarting with reloader... > python: posix_spawn: > /Users/tmcw/Code/python/mapsonastick_env/mapsonastick/dist/moas.app/Contents/MacOS/../Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: > Unkno

Re: [Pythonmac-SIG] py2app problems with spawn

2010-07-26 Thread Nicholas Riley
On Mon, Jul 26, 2010 at 10:41:29AM -0400, Tom MacWright wrote: > This error is happening even just running the 'python' executable, so I > think it's pretty safe to say that it's not related to Flask? Flask restarts the Python interpreter when it detects changes to its source files - that's how th

Re: [Pythonmac-SIG] py2app problems with spawn

2010-07-26 Thread Tom MacWright
This error is happening even just running the 'python' executable, so I think it's pretty safe to say that it's not related to Flask? On Mon, Jul 26, 2010 at 10:40 AM, Nicholas Riley wrote: > On Sun, Jul 25, 2010 at 11:35:04PM -0400, Tom MacWright wrote: > > * Restarting with reloader... > > pyt

Re: [Pythonmac-SIG] Built application not compatible with packaged .so files.

2010-07-26 Thread Tom MacWright
For reference, which Python distribution, OS, etc, are you using? I'd be perfectly happy to change any part of my setup if there's something that's known to work. As it stands, I'm using Python 2.6 from Python.org, Snow Leopard, and running into a ton of problems. The Python installer doesn't mess

Re: [Pythonmac-SIG] Built application not compatible with packaged .so files.

2010-07-26 Thread Ronald Oussoren
On 26 Jul, 2010,at 02:45 PM, Tom MacWright wrote:So, I'm running into the familiar zlib not available problem (with the error message7/26/10 8:37:21 AM [0x0-0x980c803].org.pythonmac.unspecified.moas[34233] zipimport.ZipImportError: can't decompress data; zlib not available To be pedantic: the erro

[Pythonmac-SIG] Built application not compatible with packaged .so files.

2010-07-26 Thread Tom MacWright
So, I'm running into the familiar zlib not available problem (with the error message 7/26/10 8:37:21 AM [0x0-0x980c803].org.pythonmac.unspecified.moas[34233] zipimport.ZipImportError: can't decompress data; zlib not available And I realized that, like the rest of the errors that I was running int

Re: [Pythonmac-SIG] py2app architecture problem and System Python question

2010-07-26 Thread Tom MacWright
Not being able to redistribute parts of system python is totally understandable - it's not a very well-documented limitation, however. Here's a patch applied to head that describes this in the 'Building for deployment' section, and also corrects a misspelling in build_app.py that appears in py2app

Re: [Pythonmac-SIG] Unit testing altgraph

2010-07-26 Thread Tom MacWright
Cool - I didn't mean to imply that GitHub was the only choice, and Mercurial is certainly more popular with the Python crowd. As long as there's something that'll make it possible to patch and document bugs, it'll be a great improvement. On Mon, Jul 26, 2010 at 5:17 AM, Ronald Oussoren wrote: > >

Re: [Pythonmac-SIG] py2app architecture problem and System Python question

2010-07-26 Thread Ronald Oussoren
On 26 Jul, 2010,at 12:27 PM, "Brendan Simon (eTRIX)" wrote: Subject: Re: [Pythonmac-SIG] py2app architecture problem and System Python question

Re: [Pythonmac-SIG] py2app architecture problem and System Python question

2010-07-26 Thread Brendan Simon (eTRIX)
> Subject: > Re: [Pythonmac-SIG] py2app architecture problem and System Python > question > From: > Ronald Oussoren > Date: > Mon, 26 Jul 2010 02:25:21 -0700 (PDT) > > To: > Tom MacWright > CC: > pythonmac-sig@python.org > >> And how do I test these distributions quickly, as running OSX within

Re: [Pythonmac-SIG] py2app architecture problem and System Python question

2010-07-26 Thread Ronald Oussoren
On 26 Jul, 2010,at 03:04 AM, Tom MacWright wrote:Hi all,It's great to see that there's somewhere that py2app is actually developed and discussed (although it's kind of hard to find this place! the documentation should refer to it or something). The next release will have this list in the informati

Re: [Pythonmac-SIG] Unit testing altgraph

2010-07-26 Thread Ronald Oussoren
On 26 Jul, 2010,at 03:51 AM, Tom MacWright wrote:Here's a patch that converts the freerange tests in altgraph into unit tests:http://dl.dropbox.com/u/68059/patches/altgraph_unittest.patch It's rather simple and doesn't add any new tests. There isn't test coverage of Dot, etc., and I'd like to add

Re: [Pythonmac-SIG] py2app and python versions

2010-07-26 Thread Brendan Simon (eTRIX)
I use py2app with Python 2.5. Even though I'm keen to move to 2.6 (and then 2.7), I would _guess_ that quite a few people are still using Python 2.5. Cheers, Brendan. On 26/07/10 11:04 AM, pythonmac-sig-requ...@python.org wrote: > Subject: > [Pythonmac-SIG] py2app and python versions > From: >