[Build-common-hackers] Bug#628110: Bug#628110: cdbs: Wrong install dir for python modules

Olivier Aubert olivier.aubert at liris.cnrs.fr
Fri May 27 13:02:05 UTC 2011


On Fri, 2011-05-27 at 13:59 +0200, Jonas Smedegaard wrote:
> On 11-05-27 at 12:49pm, Olivier Aubert wrote:
> > When transitioning a package from python-support to dh_python2, dh_python2 generates the following warning:
> > W: dh_python2:96: Python 2.6 should install files in /usr/lib/python2.6/dist-packages/. Did you forget "--install-layout=deb"?
> 
> Yes, the new install helper gets confused when not using that 
> --install-layout=deb hint.  That waning in itself is not a problem, 
> though.
Since it has become the recommended way to build packages, should not
cdbs add --install-layout=deb itself?

> > Indeed, modules are installed into /usr/lib/python2.6/site-packages
> Is it actually causing problems for the final package install?
It seems not. The package installs and runs fine.

Olivier






More information about the Build-common-hackers mailing list