Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #8497 > unrolled thread

pybuild installation directory

Started byJeremy Sanders <jeremy@jeremysanders.net>
First post2016-05-07 21:20 +0200
Last post2016-05-07 23:50 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.debian.maint.python


Contents

  pybuild installation directory Jeremy Sanders <jeremy@jeremysanders.net> - 2016-05-07 21:20 +0200
    Re: pybuild installation directory Piotr Ożarowski <piotr@debian.org> - 2016-05-07 23:50 +0200
      Re: pybuild installation directory Piotr Ożarowski <piotr@debian.org> - 2016-05-07 23:50 +0200

#8497 — pybuild installation directory

FromJeremy Sanders <jeremy@jeremysanders.net>
Date2016-05-07 21:20 +0200
Subjectpybuild installation directory
Message-ID<rwfVD-7th-1@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#8498

FromPiotr Ożarowski <piotr@debian.org>
Date2016-05-07 23:50 +0200
Message-ID<rwigN-Zw-1@gated-at.bofh.it>
In reply to#8497
[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

[toc] | [prev] | [next] | [standalone]


#8499

FromPiotr Ożarowski <piotr@debian.org>
Date2016-05-07 23:50 +0200
Message-ID<rwigO-Zw-11@gated-at.bofh.it>
In reply to#8498
[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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web