Re: [Pythonmac-SIG] XCode fails to see py2app

2007-03-21 Thread Nehemiah Dacres
The interesting thing i might add to this is that I couldn't import pyobjc for a while "from objc import *" in python 2.5 I had to spesificly invoke python 2.4 (% python2.4 ) in order import objc or wx after a package install. I also noticed that the pyobjc.sourceforge.netpage is down, all the lin

[Pythonmac-SIG] 'normal' python library installations on OSX

2007-03-21 Thread David Worrall
Hello all, I'm looking to install libraries in the OSX python framework structure using a simple shell script and I can't find a document which advises the 'normal' locations. given packAGE.py, (and various other .py files which it imports) _ packAGE.so and libpackAGE.dylib I've made a packAGE

[Pythonmac-SIG] Display icons from Carbon?

2007-03-21 Thread Kevin Walzer
I'm trying to figure out how to display Mac-native icons in my Python application via Carbon. I can get the raw icon data via this snippet: from Carbon import Icn icon = Icn.GetIconRefFromFile('/Users/kevin/Desktop/myfile.doc') print icon (<_Res.Resource object at 0x4d110>, 0) However, after th

Re: [Pythonmac-SIG] XCode fails to see py2app

2007-03-21 Thread Calder Coalson
On Mar 21, 2007, at 5:30 AM, Nehemiah Dacres wrote: Following the examples http://developer.apple.com/cocoa/pyobjc.html as well as using PyObjC 1.4 installer for (Universal) Python 2.4 on Mac OS X 10.4 I have got an error message that Xcode cannot find py2app. There is a thread on this t