PackageManager is MacPython's means for making it easy (easy enough) for users to install and upgrade MacPython extensions. The GUI is buggy. If you have problems, trying running the pimp module, which can be used as a command line tool like so:

[crack:~] bob% python `python -c "import pimp; print pimp.__file__"`
Usage: pimp [options] -s [package ...] List installed status
       pimp [options] -l [package ...] Show package information
       pimp [options] -i package ... Install packages
       pimp -d Dump database to stdout
       pimp -V Print version number
       -v Verbose
       -f Force installation
       -D dir Set destination directory
              (default: /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages)
       -u url URL for database

Feel free to make your own shell script or alias to shorten that command line :)

How is it that one is supposed to run those commands (e.g. "pimp -i package")? The best I could come up with was:

python /Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-mac/ -i package

but it seems that there should be an easier way.

Make sure to check out PackageManagerRepository, there are alternate databases that have a wealth of additional packages.

How do I get it?

PackageManager comes with a full MacPython distribution. For OS X 10.3 users, get the MacPythonPantherAddons.

Related Links

MacPython/PackageManager (last edited 2008-11-15 14:01:17 by localhost)

Unable to edit the page? See the FrontPage for instructions.