|
From: Michael B. <mb...@de...> - 2011-07-04 23:07:51
|
On Sun, Jul 03, 2011 at 02:00:51PM +0200, Bjoern Ricks wrote:
> Am 01.07.11 05:48, schrieb Chris Frey:
> > The problem:
> > ------------
> >
> > Our FindPythonLibs.cmake was hacked to add PYTHON_VERSION. It basically
> > called python and asked for its version number. Simple enough.
> Which is really necessary and needed in many cases.
> >
> > I could copy that into the main wrapper/CMakeLists.txt, but there's another
> > issue.
> >
> > Ubuntu and Debian have packaged python2.6 so that such modules are
> > installed into /usr/lib/python2.6/dist-packages instead of site-packages.
> > site-packages is not in the default path, as far as I know.
> Imho that is a debian only change but I am not sure. Maybe Michael Bank
> (azeem) knows the details. Normally I would install the python module in
> /usr/lib/python${PYTHON_VERSION}/site-packages. But we should add a
> possibility to set that path at cmake runtime. In debian I have also
> seen a /usr/lib/pymodules and /usr/lib/pyshared directories ...
I haven't looked into it in detail, but in general, I think opensync
should do what is recommended upstream, and any Debian/Ubuntu-specific
things should handled in the Debian packaging.
Michael
|