[Build-common-hackers] Bug#565973: closed by Jonas Smedegaard <dr at jones.dk> (Re: Bug#565973: cdbs should not use --prefix, but --install-layout=deb)

Piotr Ożarowski piotr at debian.org
Wed Feb 10 08:29:56 UTC 2010


[Matthias Klose, 2010-02-10]
> On 09.02.2010 22:58, Piotr Ożarowski wrote:
> > --install-{pure,lib} is used later anyway, so --install-layout=deb
> > will not change much (and please don't mention tarball workaround used in
> > Ubuntu).
> >
> > both dh_pycentral and dh_pysupport move files from site-packages to
> > dist-packages, so #567745 is not relevant.
>
> as I did mention in the original report, it does make a difference. please 
> fix this appropriately. If --install-{pure,lib} isn't doing the right 
> thing, it should be fixed.

the bug you mentioned was caused by python-central (which wasn't moving
files from site- to dist-packages for a very long time), not by cdbs.

> I don't know how the rant about the tarball workaround belong in this report.

cdbs in Ubuntu was doing what --install-platlib and --install-purelib
does but they used tar to achieve that

Anyway, --install-layout=deb will be overridden later with
--install-{pure,plat}lib and that's what you want to be changed, not
--prefix=/usr, right?. I understand that it's better to use the final
location (BTW, can you point me to any other package than numpy that
needs that?) but right now there are too many packages depending on
"site-packages" so it a way easier to let package(s?) like numpy
override the default location.

What do you think about adding DEB_PYTHON_INSTALL_FOO variable that will
tell cdbs to use dist-packages by default?





More information about the Build-common-hackers mailing list