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


Groups > linux.debian.maint.python > #8432

Re: Properly splitting Python "-doc" packages

From Piotr Ożarowski <piotr@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Properly splitting Python "-doc" packages
Date 2016-04-14 23:30 +0200
Message-ID <rnWZQ-h1-7@gated-at.bofh.it> (permalink)
References <rnPlE-2aV-3@gated-at.bofh.it> <rnPYm-2uu-11@gated-at.bofh.it> <rnR46-3Fm-21@gated-at.bofh.it> <rnRx8-408-13@gated-at.bofh.it> <rnVU6-7Po-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

[Tiago Ilieve, 2016-04-14]
> > then PLEASE PLEASE PLEASE do not install as public modules - install into
> > /usr/share/boostrap-vz/ f.e. with this pybuild args:
> >
> >   export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/boostrap-vz/ --install-scripts=/usr/share/boostrap-vz/
> >
> > and
> >
> >   /usr/share/boostrap-vz/boostrap-vz /usr/bin/boostrap-vz
> >   /usr/share/boostrap-vz/boostrap-remote /usr/bin/boostrap-remote
> >   /usr/share/boostrap-vz/boostrap-server /usr/bin/boostrap-server
> >
> > in debian/boostrap-vz.links
> >
> > see PYBUILD_INSTALL_ARGS above (and use PYBUILD_DESTDIR=debian/bootstrap-vz/
> > instead of PYBUILD_NAME)
> 
> Ok. As this seems to be considered very wrong, I've separated the
> package[1], between "bootstrap-vz" and "python-bootstrap-vz". The

if you decide to go this way, please use python-bootstrapvz, not
python-bootstrap-vz (module name is bootstrapvz, not bootstrap-vz)

> first one contains binaries/man pages/etc. and the later contains the
> library with everything packaged by Pybuild.
> 
> I've tried to use "/usr/share/boostrap-vz" for it, but as it run as
> root it ends up writing "*.pyc" files in there, resulting in a

I copy-pasted your typo in package name so dh_python2 didn't find the
right directory and didn't do its job.

See attached patch (now it uses private dir)
-- 
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

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Properly splitting Python "-doc" packages Tiago Ilieve <tiago.myhro@gmail.com> - 2016-04-14 15:20 +0200
  Re: Properly splitting Python "-doc" packages Piotr Ożarowski <piotr@debian.org> - 2016-04-14 16:00 +0200
    Re: Properly splitting Python "-doc" packages Tiago Ilieve <tiago.myhro@gmail.com> - 2016-04-14 17:10 +0200
      Re: Properly splitting Python "-doc" packages Piotr Ożarowski <piotr@debian.org> - 2016-04-14 17:40 +0200
        Re: Properly splitting Python "-doc" packages Tiago Ilieve <tiago.myhro@gmail.com> - 2016-04-14 22:20 +0200
          Re: Properly splitting Python "-doc" packages Piotr Ożarowski <piotr@debian.org> - 2016-04-14 23:30 +0200
            Re: Properly splitting Python "-doc" packages Tiago Ilieve <tiago.myhro@gmail.com> - 2016-04-15 08:40 +0200
          Re: Properly splitting Python "-doc" packages Ben Finney <ben+debian@benfinney.id.au> - 2016-04-15 06:00 +0200

csiph-web