Python on Leopard
After my DeveloperTools installation from the Leopard setup DVD i had a look around at the tools.
First let me say that the new tools are all great. Especially Instruments is quite useful. Being a Python guy i remembered something about a new version of PyObjC coming bundled with the DeveloperTools. In fact it should be version 2.0. So i created a new python-project in XCode and it seemed to work fine - but i was using the old PyObC version i had installed before on my Python 2.4. I tweaked a few paths back then to get rid of the 2.3 version of python which was delivered with Tiger. I somehow expected 2.5 with PyObjC 2.0 to be installed and setup by the DeveloperTool’s installation.
In fact it’s all there in all it’s greatness. First make sure you didn’t override some paths/symlinks or whatever. Starting python from the console should start the Version 2.5.1. It’s home is in /System/Library/Frameworks/Python.framework/Versions/2.5/ and it comes with a bunch of packages
- PyRSS2Gen - 1.0.0
- Twisted Xish - 0.4.0
- Twisted - 2.4.0
- altgraph - 0.6.8.dev
- bdist-mpkg - 0.4.3.dev
- bonjour-py - 0.2
- modulegraph - 0.7.2.dev
- numpy - 1.0.1
- py2app - 0.4.1.dev
- pyOpenSSL - 0.6
- pyobjc-core - 2.0
- pyobjc-framework-AddressBook - 2.0
- pyobjc-framework-AppleScriptKit - 2.0
- pyobjc-framework-Automator - 2.0
- pyobjc-framework-CalendarStore - 2.0
- pyobjc-framework-Cocoa - 2.0
- pyobjc-framework-Collaboration - 2.0
- pyobjc-framework-CoreData - 2.0
- pyobjc-framework-CoreText - 2.0
- pyobjc-framework-DictionaryServices - 2.0
- pyobjc-framework-ExceptionHandling - 2.0
- pyobjc-framework-FSEvents - 2.0
- pyobjc-framework-InputMethodKit - 2.0
- pyobjc-framework-InstallerPlugins - 2.0
- pyobjc-framework-InstantMessage - 2.0
- pyobjc-framework-InterfaceBuilderKit - 2.0
- pyobjc-framework-LatentSemanticMapping - 2.0
- pyobjc-framework-LaunchServices - 2.0
- pyobjc-framework-Message - 2.0
- pyobjc-framework-PreferencePanes - 2.0
- pyobjc-framework-PubSub - 2.0
- pyobjc-framework-QTKit - 2.0
- pyobjc-framework-Quartz - 2.0
- pyobjc-framework-ScreenSaver - 2.0
- pyobjc-framework-ScriptingBridge - 2.0
- pyobjc-framework-SearchKit - 2.0
- pyobjc-framework-SyncServices - 2.0
- pyobjc-framework-SystemConfiguration - 2.0
- pyobjc-framework-WebKit - 2.0
- pyobjc-framework-XgridFoundation - 2.0
- pyobjc-xcode - 2.0
- python-dateutil - 1.2
- setuptools - 0.6c7
- wxPython-common - 2.8.4.0
- wxaddons - 2.8.4.0
- xattr - 0.5
- zope.interface - 3.3.0
I generated this List with Yolk and modified it a little to exclude packages i installed already and added a few that yolk seemed to have missed.
First off i find it remarkable that wx is included. I don’t know the reason for this. I use wx so this is great for people like me. Secondly py2app was kind of obvious (XCode bundles python projects up in the build phase to produce a stand-alone app) but i was really surprised to find twisted in there.
I got my hopes high when i heard about Apple being officially more supportive towards dynamic languages like Ruby, Python and Perl and i am not disappointed - and yes ruby on rails is there for those interested.
The integration in XCode and it’s tools seems to be nice but i didn’t have enough time to dig into it.