artemp/trac2github — Issue #220: python bindings getting installed to incorrect location
Author: artemp
Created: 2011-10-09 20:21:44+00:00
State: open
Labels: Boost_Python_Binding

Recent the Mapnik SVN code has started to install the python binary libraries to the wrong location. Since the mapnik code is arch specific, I believe it needs to install into the architechture specific site-packages location.

To fetch this path the macro to use is:
{{{
$ python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1);"
/usr/lib64/python2.5/site-packages
}}}

Note the '''(1)''' at the end.