PyBuild available in raring
Dmitry Shachnev
mitya57 at ubuntu.com
Fri Jan 25 15:13:14 UTC 2013
Hi Colin,
On Wed, Jan 25, 2013 14:45 +0000, Colin Watson wrote:
> This looks like a big improvement, thanks. However, is it intentional
> that it appears to install Python 3 modules to
> /usr/lib/python3.X/dist-packages/ by default, rather than
> /usr/lib/python3/dist-packages/?
>
> To reproduce, take germinate 2.12 and replace its debian/rules with:
>
> #! /usr/bin/make -f
> %:
> dh $@ --with python2,python3 --buildsystem=pybuild
>
> Then watch the build failure, preceded and caused by:
>
> dh_auto_install -O--buildsystem=pybuild
> ...
> running install
> running install_lib
> creating /«PKGBUILDDIR»/debian/tmp/usr/lib/python3.3
> creating /«PKGBUILDDIR»/debian/tmp/usr/lib/python3.3/dist-packages
According to Piotr, pybuild installs the files to /usr/lib/python3.*/,
and then dh_python3 moves them to the usual location.
So replacing `usr/lib/python3` with `usr/lib/python3*` in
debian/python3-germinate.install should fix this issue.
--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20130125/8c73bbb5/attachment.pgp>
More information about the ubuntu-devel
mailing list