artemp/trac2github — Issue #138: Mapnik python bindings on OS 10.5 should not install in /System
Author: artemp
Created: 2011-10-09 20:15:48+00:00
State: open
Labels: Scons_Build_Scripts

The default site-packages directory that mapnik installs in is actually a symlink into /System folders, - which is non-standard and bad practice.

This is the location mapnik installs in:
{{{
/usr/lib/python2.5/site-packages/mapnik
}}}

and this location is actually in /System:
{{{
$ ls -l /usr/lib/python2.5
lrwxr-xr-x 1 root wheel 75 Nov 15 2007 /usr/lib/python2.5 -> ../../System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
}}}

I've not seen any other python packages installed in this location on OS 10.5.

The more standard location would be:

{{{
/Library/Python/2.5/site-packages
}}}

Which is also automatically on a vanilla OSX user's PYTHONPATH.