pybuild installation directory

2016-05-07 Thread Jeremy Sanders
I'm trying to update the veusz package to use python3 and pybuild. It 
seems be default that pybuild installs in 
usr/lib/python3.X/dist-packages/veusz.


As far as I can see, the package should be installed in in 
usr/lib/python3/dist-packages/veusz. There's both arch-specific and 
non-arch-specific code.


Is this correct? What's the proper way to fix this? I'm doing this

dh $@ --with python3 --buildsystem=pybuild

Thanks!

Jeremy



Re: pybuild installation directory

2016-05-07 Thread Piotr Ożarowski
[Jeremy Sanders, 2016-05-07]
> I'm trying to update the veusz package to use python3 and pybuild. It seems
> be default that pybuild installs in usr/lib/python3.X/dist-packages/veusz.
> 
> As far as I can see, the package should be installed in in
> usr/lib/python3/dist-packages/veusz. There's both arch-specific and
> non-arch-specific code.
> 
> Is this correct? What's the proper way to fix this? I'm doing this

that's correct. pybuild installs into versioned directory by default,
but dh_python3 moves it (after tagging .so files) into unversioned one
later.

My suggestion is: do nothing and it will work

If you really want to change it in pybuild, use --destdir or
PYBUILD_DESTDIR or PYBUILD_DESTDIR_python3
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645



Re: pybuild installation directory

2016-05-07 Thread Piotr Ożarowski
[Piotr Ożarowski, 2016-05-07]
> If you really want to change it in pybuild, use --destdir or
> PYBUILD_DESTDIR or PYBUILD_DESTDIR_python3

err, PYBUILD_INSTALL_ARGS=--install-lib=/usr/lib/python3/dist-packages/

(I still recommend to let dh_python3 handle it, though)
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645