[Pythonmac-SIG] Using setup.py/distutils on Intel Macs

2006-04-17 Thread steve
Hello List, I'm new here so please forgive me if this is a dupe question I can't seem to install python source dists correctly. I follow: python setup.py build sudo python setup.py install It installs cleanly except I notice "byte-compiling build/bdist.darwin-8.6.1-Power_Macintosh" which

Re: [Pythonmac-SIG] 2.3 vs 2.4

2006-04-17 Thread Piet van Oostrum
> "Robertson Holt" <[EMAIL PROTECTED]> (RH) wrote: >RH> "Remove /Library/Frameworks/Python.framework and everything in it; >RH> remove /Applications/MacPython-2.3 and everything in it;" >RH> Which I deleted from the finder. But your error message was about a missing /System/Library/Framework

[Pythonmac-SIG] Photoshop events from Python

2006-04-17 Thread anand.vasudevan
Hi,   Our application which runs on Mac OS X, uses the API Suite generated by GenSuiteModule (provided by python) to communicate to Photoshop CS. Most of the input parameters that would be generally specified by the user such as rasterization options etc. are passed through the API gener

Re: [Pythonmac-SIG] Universal MacPython 10.3.9

2006-04-17 Thread kernel
On 16 Apr 2006, at 23:17, Bob Ippolito wrote: > IDLE needs Tcl/Tk Aqua installed to function.  Have you installed it? yup, I had an older version (2.4.1 ?) working today which was just a PPC build not Universal... but, some of the tkinter examples in the extras folder exhibit the same behaviour

Re: [Pythonmac-SIG] Fwd: more OS X oddities

2006-04-17 Thread Michael Hudson
"Nicholas Cole" <[EMAIL PROTECTED]> writes: > I realised that on OS X it is almost impossible (or at least I can't > find a way) to capture F-key or meta-key presses using the python > curses module. I think this has to do with your terminal emulator more than anything. Try it in an xterm (if you

[Pythonmac-SIG] read content from latin-1 file, write it to ut8 file

2006-04-17 Thread frank h.
Hello,I am using Mac Python 2.4.1 on Mac OS X 10.4 and I cannot seem to be able to read from a latin-1 file and then write to a UTF8 file correctlyUsing Textwrangler on OS X, I create a latin-1 file with some special characters in it and save it as " test.txt"I am reading the textfile as such:   f

Re: [Pythonmac-SIG] 2.3 vs 2.4

2006-04-17 Thread Trent Mick
[Troy Rollins wrote] > > Installers for extensions are specific to a particular version of > > Python anyway. Mac OS X installers don't try and detect Python, > > they hard code where they expect to find it (win32 installers do > > search though). Your problem is that you found the wrong

Re: [Pythonmac-SIG] 2.3 vs 2.4

2006-04-17 Thread Troy Rollins
On Apr 17, 2006, at 1:22 PM, Trent Mick wrote: > ActivePython 2.4.3 should most certainly be considered an install > target > for an extension looking for a "python 2.4.3" to install to. > > And, yes, ActivePython is a framework build/install of Python, just as > are the Apple Python and MacPyt

Re: [Pythonmac-SIG] 2.3 vs 2.4

2006-04-17 Thread Trent Mick
[Daniel Lord wrote] > > On Apr 15, 2006, at 15:53, Bob Ippolito wrote: > > >There are relatively few applications that are launched by > >LaunchServices *and* use the PATH environment variable. From the > >rest of the thread, it sounds like Komodo is apparently one of these. > > Yes, Komodo

Re: [Pythonmac-SIG] Installing wxPython with ActivePython and OSX

2006-04-17 Thread Trent Mick
[Thomas Juntunen wrote] > > I'm trying to get wxPython going with ActivePython, Komodo and > > OSX.4.6 > > > > The wx installer is installing to my framework "system" python (Apple > > 2.3.5) > > > > Is there any way to get this to work with my setup? wxPython on the Mac seems to be painful righ

Re: [Pythonmac-SIG] Photoshop events from Python

2006-04-17 Thread has
Anand wrote: >Our application which runs on Mac OS X, uses the API Suite generated by >GenSuiteModule (provided by python) to communicate to Photoshop CS. > >The API works fine in most of the cases but throws this exception when there >are additional dialogs shown by Photoshop CS like when the f

Re: [Pythonmac-SIG] Installing wxPython with ActivePython and OSX

2006-04-17 Thread Troy Rollins
On Apr 17, 2006, at 2:44 PM, Trent Mick wrote: > wxPython on the Mac seems to be painful right now. > > 1. You need to get the correct build for your version of Python. For >ActivePython 2.4.x or MacPython 2.4.x that means getting one of the >builds with "-py24" in the package name. Than

Re: [Pythonmac-SIG] Installing wxPython with ActivePython and OSX

2006-04-17 Thread Kevin Ollivier
Hi Trent, On Apr 17, 2006, at 11:44 AM, Trent Mick wrote: > [Thomas Juntunen wrote] >>> I'm trying to get wxPython going with ActivePython, Komodo and >>> OSX.4.6 >>> >>> The wx installer is installing to my framework "system" python >>> (Apple >>> 2.3.5) >>> >>> Is there any way to get this to

Re: [Pythonmac-SIG] Installing wxPython with ActivePython and OSX

2006-04-17 Thread Trent Mick
[Trent] > >wxPython on the Mac seems to be painful right now. [Kevin Ollivier wrote] > Suggestions and contributions welcome! :-) My apologies, I was being unfairly brief. Some suggestions: - A review of the Mac OS X-related text on http://www.wxpython.org/download.php Some of that info

Re: [Pythonmac-SIG] 2.3 vs 2.4

2006-04-17 Thread Bill Janssen
I'll add a note in bold on the python.org Macintosh downloads page saying not to remove the Apple-provided version. Bill ___ Pythonmac-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Fwd: MacPython icon mockup

2006-04-17 Thread Bill Janssen
I see that Andrew Clover has submitted an update of his icons for Python. http://thread.gmane.org/gmane.comp.python.devel/78197/focus=78701 Bill ___ Pythonmac-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/pythonmac-si

[Pythonmac-SIG] Building apps with hardcoded options using py2app

2006-04-17 Thread Mike Covill
I would like to package up different versions of our application which we normally specify on the command line with different command line options. For example: myapp.py or myapp.py -sim Can I use py2app to make different 'double-clickable' applications that would give us the same functiona

Re: [Pythonmac-SIG] Building apps with hardcoded options using py2app

2006-04-17 Thread Nicholas Riley
On Mon, Apr 17, 2006 at 04:59:21PM -0400, Mike Covill wrote: > I would like to package up different versions of our application > which we normally specify on the command line with different command > line options. For > example: > myapp.py > or > myapp.py -sim > > Can I use py2app to make di

Re: [Pythonmac-SIG] Fwd: MacPython icon mockup

2006-04-17 Thread Daniel Lord
On Apr 17, 2006, at 14:15, Bill Janssen wrote:I see that Andrew Clover has submitted an update of his icons for Python. http://thread.gmane.org/gmane.comp.python.devel/78197/focus=78701 That's more like it IMHO though I was hoping for  a little Aqua Jellybean bevels on the Blue & Yellow logo part

[Pythonmac-SIG] Someone had PIL trouble on i386 10.4.6 Python 2.4 IIRC--I succeeded this evening

2006-04-17 Thread Daniel Lord
I was able to successfully compile and install it with just a few tweaks on my Macbook Pro this evening. I don't know if this newbies methods are optimal, but they seem to have worked finally (I tried straight 'out of the box' compiles which failed at first) [EMAIL PROTECTED] sudo python s