You can grab the new dmg file here: MacPyGTK_Leopard_Intel_091309.dmg
The install procedure is the usual:
- Download and mount the dmg
- Drag the MacPyGTK folder to /Developer
- Copy the contents of site-packages into the site packages of your Python installation (on 10.5 this should be /Library/Python/2.5/site-packages)
- Test that it works by running the hello_pygtk.py file with your Python interpreter.
Hi first of all thank you for make it painless for development newbies like myself, I am taking baby steps and this helps a lot :)
ReplyDeleteI followed the instructions so far but reached the last step and I am a bit confused how do I run hello_pygtk.py with my Python interpreter?
Thanks!
Assuming that you have only one Python interpreter installed on your system (as per default I think), all you need to do is start a terminal, navigate to the place where hello_pygtk.py resides (which would be /Volumes/MacPyGTK_Leopard_091309 if you still have the dmg mounted), and issue the command: "python hello_pygtk.py" (without the ").
ReplyDeleteLet me know if this helps.
Thank you for the excellent package. Anyway you could make one for the Snow Leopard? When I try to run the hello_pygtk script I get the following error:
ReplyDeleteImportError: dlopen(/Library/Python/2.6/site-packages/gtk-2.0/glib/_glib.so, 2): no suitable image found. Did find:
/Library/Python/2.6/site-packages/gtk-2.0/glib/_glib.so: mach-o, but wrong architecture
I did make a Snow Leopard build some months ago. Check this post: http://kedeligdata.blogspot.com/2009/09/native-mac-pygtk-for-snow-leopard.html
ReplyDeleteHey i cant seem to get the download for the MacPyGTK_Leopard_Intel_091309.dmg, it keep taking me to the yahoo:
ReplyDeletehttp://search.yahoo.com/web?fr=
HELP! Need this build for my app testing, installed the pygtk using terminal and keep getting wierd errors that aint helpn much.
@Tzak: It's back online now. I don't know if it works with the most recent Leopard version, but you can give it a try. I don't update these builds anymore.
ReplyDeleteThis is very cool. What version of PyGTK did you use? Do you have a more up to date bundle?
ReplyDeleteThank you so much!!
ReplyDelete