[Pythonmac-SIG] Popen2

2004-12-29 Thread François Granger
I am trying to use popen2.popen3 and I am stuck. I tested the command line I am building and it works ok. This may be due to my lack of knowledge of the command line functionnalities... But this script either hang or raise an error. This is the bare bone script directly copied from the sample: #

Re: [Pythonmac-SIG] Popen2

2004-12-29 Thread Bob Ippolito
On Dec 29, 2004, at 3:12 AM, François Granger wrote: I am trying to use popen2.popen3 and I am stuck. Don't! Use subprocess instead. Read this thread for the last discussion on this topic (that I recall, anyway)

Re: [Pythonmac-SIG] py2applet question

2004-12-29 Thread Ronald Oussoren
On 28-dec-04, at 22:32, Bob Ippolito wrote: On Dec 28, 2004, at 4:14 PM, Kevin Walzer wrote: Kevin-Walzers-Computer:~/Desktop/eric-3.5.1/eric kevin$ py2applet eric3.py from: can't read /var/mail/py2app.scripts.script_py2applet /usr/local/bin/py2applet: line 3: syntax error: unexpected end of file

Re: [Pythonmac-SIG] How badly is _locale broken?

2004-12-29 Thread Ronald Oussoren
On 28-dec-04, at 23:11, Brett C. wrote: I am planning to attempt to fix the _locale module (which 'locale' itself imports and uses) for OS X. As of this exact moment I am planning just fixing localeconv (thanks to CFNumberFormatter and setlocale still at least storing the supposed locale, even

[Pythonmac-SIG] Popen2

2004-12-29 Thread Francois Granger
I am trying to use popen2.popen3 and I am stuck. I tested the command line I am building and it works ok. This may be due to my lack of knowledge of the command line functionnalities... But this script either hang or raise an error. This is the bare bone script directly copied from the sample: #

[Pythonmac-SIG] dyld trying to link against wrong version of Python

2004-12-29 Thread Kersey Black
Hi all, I first confess to being a newbie, but that will probably be obvious. I am trying to set up my powerbook for python work. It has 10.3.7, current dev xcode tools, etc. I want Numeric, numarrray, and scipy modules. I thought I would upgrade to python 2.4, and tried to do so with a frame

Re: [Pythonmac-SIG] How badly is _locale broken?

2004-12-29 Thread Bob Ippolito
On Dec 29, 2004, at 4:50 AM, Ronald Oussoren wrote: On 28-dec-04, at 23:11, Brett C. wrote: I am planning to attempt to fix the _locale module (which 'locale' itself imports and uses) for OS X. As of this exact moment I am planning just fixing localeconv (thanks to CFNumberFormatter and setloca

[Pythonmac-SIG] Re: [Python-Dev] Re: [Python-checkins] python/dist/src/Mac/OSX fixapplepython23.py, 1.1, 1.2

2004-12-29 Thread Jack Jansen
On 29-dec-04, at 4:35, Bob Ippolito wrote: This is the wrong fix. Distutils is dumber than you think. This patch just breaks C++ compilation in a different way. The correct solution is a patch to distutils of some kind. from distutils/unixccompiler.py:174 if target_lang == "c+

Re: [Pythonmac-SIG] dyld trying to link against wrong version of Python

2004-12-29 Thread Bob Ippolito
On Dec 28, 2004, at 1:51 PM, Kersey Black wrote: I first confess to being a newbie, but that will probably be obvious. I am trying to set up my powerbook for python work. It has 10.3.7, current dev xcode tools, etc. I want Numeric, numarrray, and scipy modules. I thought I would upgrade to pyth

Re: [Pythonmac-SIG] How badly is _locale broken?

2004-12-29 Thread Ronald Oussoren
On 29-dec-04, at 11:23, Bob Ippolito wrote: On Dec 29, 2004, at 4:50 AM, Ronald Oussoren wrote: On 28-dec-04, at 23:11, Brett C. wrote: I am planning to attempt to fix the _locale module (which 'locale' itself imports and uses) for OS X. As of this exact moment I am planning just fixing localeco

Re: [Pythonmac-SIG] Re: [Python-Dev] Re: [Python-checkins] python/dist/src/Mac/OSX fixapplepython23.py, 1.1, 1.2

2004-12-29 Thread Bob Ippolito
On Dec 29, 2004, at 5:23 AM, Jack Jansen wrote: On 29-dec-04, at 4:35, Bob Ippolito wrote: This is the wrong fix. Distutils is dumber than you think. This patch just breaks C++ compilation in a different way. The correct solution is a patch to distutils of some kind. from distutils/unixccompi

Re: [Pythonmac-SIG] How badly is _locale broken?

2004-12-29 Thread Bob Ippolito
On Dec 29, 2004, at 5:32 AM, Ronald Oussoren wrote: On 29-dec-04, at 11:23, Bob Ippolito wrote: On Dec 29, 2004, at 4:50 AM, Ronald Oussoren wrote: On 28-dec-04, at 23:11, Brett C. wrote: I am planning to attempt to fix the _locale module (which 'locale' itself imports and uses) for OS X. As of t

Re: [Pythonmac-SIG] How badly is _locale broken?

2004-12-29 Thread Michael Hudson
Bob Ippolito <[EMAIL PROTECTED]> writes: > Alternatively, we could just punt on the issue and say "you need to > use 10.X in order to have a working locale module", where 10.X is the > version that Apple fixes CF. X is obviously greater than 3, but I > don't think it will be much greater. It's b

Re: [Pythonmac-SIG] How badly is _locale broken?

2004-12-29 Thread Bob Ippolito
On Dec 29, 2004, at 6:06 AM, Michael Hudson wrote: Bob Ippolito <[EMAIL PROTECTED]> writes: Alternatively, we could just punt on the issue and say "you need to use 10.X in order to have a working locale module", where 10.X is the version that Apple fixes CF. X is obviously greater than 3, but I do

[Pythonmac-SIG] Kodos

2004-12-29 Thread Kevin Walzer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a working app bundle of Kodos put together...I haven't released it because I wasn't sure anyone would be interested in it, but it works fine with my PyQt-Mac distribution. Let me know if you'd like me to post it for download. - -- Cheers, Kevin W

[Pythonmac-SIG] BuildApplet in next distro of MacPython?

2004-12-29 Thread Kevin Walzer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm curious about whether BuildApplet and PythonIDE will be included in the next iteration of MacPython, or whether these will be replaced by py2app and PyOxide. Although I know these are old technologies, especially BuildApplet, I'd like to request tha

Re: [Pythonmac-SIG] BuildApplet in next distro of MacPython?

2004-12-29 Thread Bob Ippolito
On Dec 29, 2004, at 11:58 AM, Kevin Walzer wrote: I'm curious about whether BuildApplet and PythonIDE will be included in the next iteration of MacPython, or whether these will be replaced by py2app and PyOxide. Although I know these are old technologies, especially BuildApplet, I'd like to request

Re: [Pythonmac-SIG] BuildApplet in next distro of MacPython?

2004-12-29 Thread Kevin Walzer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bob Ippolito wrote: | | | If you give up on reporting issues and whatnot with py2app it's not ever | going to suit your needs. I won't stop reporting bugs. Frankly, part of the issue is that I don't have time to learn py2app deeply. At some point in th

Re: [Pythonmac-SIG] Kodos

2004-12-29 Thread Charles Hartman
Yes please! With Bob Ippolito's helpful pointer (the QPL is **not** easily evident on the Troll web site) I now have the free version of PyQt, though I haven't tested it yet. I'd love to see Kodos. On the SourceForge.net page? Charles Hartman Professor of English, Poet in Residence http://cherr

Re: [Pythonmac-SIG] BuildApplet in next distro of MacPython?

2004-12-29 Thread Charles Hartman
Please not PyOxide. I used it for a while, I like it -- but it doesn't work, and it hasn't been worked on or updated in months. The current PythonIDE is minimal and shabby, but it works just fine. Charles Hartman Professor of English, Poet in Residence http://cherry.conncoll.edu/cohar http://vil

Re: [Pythonmac-SIG] Kodos

2004-12-29 Thread Charles Hartman
Yes please! With Bob Ippolito's helpful pointer (the QPL is **not** easily evident on the Troll web site) I now have the free version of PyQt, though I haven't tested it yet. I'd love to see Kodos. On the SourceForge.net page? Charles Hartman Professor of English, Poet in Residence http://cherry.co

Re: [Pythonmac-SIG] BuildApplet in next distro of MacPython?

2004-12-29 Thread Bob Ippolito
On Dec 29, 2004, at 1:40 PM, Kevin Walzer wrote: | py2app is a better choice than BuildApplet for PyOxide. Adding support | for BuildApplet before or in addition to py2app seems backwards. Adding | support for alias mode is definitely important for something like | PyOxide, which would suit you

Re: [Pythonmac-SIG] BuildApplet in next distro of MacPython?

2004-12-29 Thread Kevin Walzer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bob Ippolito wrote: | | I said that py2app's alias mode is non-portable. BuildApplet creates | portable applications that work if all dependencies are expected to | already be installed. Hmmm. That's a good argument to retain BuildApplet in some form.

Re: [Pythonmac-SIG] BuildApplet in next distro of MacPython?

2004-12-29 Thread Bob Ippolito
On Dec 29, 2004, at 4:29 PM, Kevin Walzer wrote: Bob Ippolito wrote: | I said that py2app's alias mode is non-portable. BuildApplet creates | portable applications that work if all dependencies are expected to | already be installed. Hmmm. That's a good argument to retain BuildApplet in some form.

Re: [Pythonmac-SIG] BuildApplet in next distro of MacPython?

2004-12-29 Thread gandreas
On Dec 29, 2004, at 2:51 PM, Charles Hartman wrote: Please not PyOxide. I used it for a while, I like it -- but it doesn't work, and it hasn't been worked on or updated in months. The current PythonIDE is minimal and shabby, but it works just fine. Actually, it has been worked on, but there isn

Re: [Pythonmac-SIG] BuildApplet in next distro of MacPython?

2004-12-29 Thread Kevin Walzer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 | | Back to the original problem, you said that these XML modules are | specific to Eric3, which means that somewhere along the way Eric3 is | doing some non-statement imports or exercising some bug in py2app | 0.1.6. Try it again with py2app 0.1.7, wh

Re: [Pythonmac-SIG] How badly is _locale broken?

2004-12-29 Thread Jack Jansen
On 29-dec-04, at 11:32, Ronald Oussoren wrote: I know that. But not linking with CoreServices should fix _locale for python scripts that don't use mac-specific features. If I understand correctly it's the loading of CoreServices that causes the _locale problem, right? If that's indeed the case th

Re: [Pythonmac-SIG] How badly is _locale broken?

2004-12-29 Thread Bob Ippolito
On Dec 29, 2004, at 6:06 PM, Jack Jansen wrote: On 29-dec-04, at 11:32, Ronald Oussoren wrote: I know that. But not linking with CoreServices should fix _locale for python scripts that don't use mac-specific features. If I understand correctly it's the loading of CoreServices that causes the _loc

[Pythonmac-SIG] The PantherPythonFix installer and C++ extensions

2004-12-29 Thread Jack Jansen
On 29-dec-04, at 11:40, Bob Ippolito wrote: [Bob notes that my PantherPythonFix installer will break C++ compilation because distutils simply replaces the first component of LDSHARED with "c++"] Any suggestions as to what to do to get c++ compilation fixed? I can think of two ways: 1. Patch distu

Re: [Pythonmac-SIG] BuildApplet in next distro of MacPython?

2004-12-29 Thread Jack Jansen
On 29-dec-04, at 17:58, Kevin Walzer wrote: I'm curious about whether BuildApplet and PythonIDE will be included in the next iteration of MacPython, or whether these will be replaced by py2app and PyOxide. Although I know these are old technologies, especially BuildApplet, I'd like to request that

[Pythonmac-SIG] Re: The PantherPythonFix installer and C++ extensions

2004-12-29 Thread Bob Ippolito
On Dec 29, 2004, at 6:25 PM, Jack Jansen wrote: On 29-dec-04, at 11:40, Bob Ippolito wrote: [Bob notes that my PantherPythonFix installer will break C++ compilation because distutils simply replaces the first component of LDSHARED with "c++"] Any suggestions as to what to do to get c++ compilatio

Re: [Pythonmac-SIG] Re: Re: [Python-checkins] python/dist/src/Mac/OSX fixapplepython23.py, 1.1, 1.2

2004-12-29 Thread Robert Kern
Bob Ippolito wrote: I have no idea, but I remember this issue was brought up at some point during one of the many discussions of this issue. I think it was also mentioned that SciPy's distutils extensions (or is it a fork?) does something similarly stupid when frobbing in a Fortran compiler. Ex

Re: [Pythonmac-SIG] BuildApplet in next distro of MacPython?

2004-12-29 Thread Donovan Preston
On Dec 29, 2004, at 10:40 AM, Kevin Walzer wrote: Perhaps I wasn't clear. I don't add *any* dependencies except those that ~ come with the application itself: i.e. I simply copy the directory structure of the application (wxGlade, Pears, what have you) into the app bundle. Any external libraries s

Re: [Pythonmac-SIG] BuildApplet in next distro of MacPython?

2004-12-29 Thread Bob Ippolito
On Dec 29, 2004, at 11:48 PM, Donovan Preston wrote: On Dec 29, 2004, at 10:40 AM, Kevin Walzer wrote: Perhaps I wasn't clear. I don't add *any* dependencies except those that ~ come with the application itself: i.e. I simply copy the directory structure of the application (wxGlade, Pears, what ha