Python, disutils & automatic packaging for Mac OS X

Bob Ippolito (whose blog is currently down) refactored the PyObjC disutils recipe (the setup.py script) such that it uses his py2app to automatically package the build product of PyObjC into multiple Mac OS X packages contained in a single mpkg. End result; you can easily install PyObjC and you can select a subset of the packages to install, as well.

py2app also performs dependency analysis such that the resulting product (not just a package) includes all of the dependencies required by the project.

And it does this automatically for any python project that uses disutils for packaging (which any modern python package should).

I dropped a current build of PyObjC and a new build of the Python Readline support for Mac OS X onto my .mac file download page.



Leave a Reply

Line and paragraph breaks automatic.
XHTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>