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


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

Re: Properly splitting Python "-doc" packages

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Ben Finney <ben+debian@benfinney.id.au>
Newsgroups linux.debian.maint.python
Subject Re: Properly splitting Python "-doc" packages
Date Fri, 15 Apr 2016 06:00:01 +0200
Message-ID <ro35f-4RA-1@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>
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Apr 15 03:58:21 2016
Old-Return-Path <debian-python@m.gmane.org>
X-Amavis-Spam-Status No, score=-7.695 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, GMAIL=1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.996] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -6.1
X-Injected-Via-Gmane http://gmane.org/
Lines 28
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host jigong.madmonks.org
X-Public-Key-ID 0xAC128405
X-Public-Key-Fingerprint 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405
X-Public-Key-URL http://www.benfinney.id.au/contact/bfinney-pubkey.asc
X-Post-From Ben Finney <bignose+hates-spam@benfinney.id.au>
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Cancel-Lock sha1:JerJ/6QLlXgw8vE09FihY+ZLJtQ=
X-Mailing-List <debian-python@lists.debian.org> archive/latest/13761
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/85twj3wmk8.fsf@benfinney.id.au
Approved robomod@news.nic.it
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 15 Apr 2016 13:57:59 +1000
X-Original-Message-ID <85twj3wmk8.fsf@benfinney.id.au>
X-Original-References <CALdTKe_eAJ+5WL5Spmjo87JMPQgFsjyZpC3eT881W+nFznYxBQ@mail.gmail.com> <20160414135204.GQ2764@sar0.p1otr.com> <CALdTKe-3dQWq+8AAm5UEyRdFKYZAE60Jf9RbP1dC+gaaHDd5Dw@mail.gmail.com> <20160414153336.GR2764@sar0.p1otr.com> <CALdTKe8w04MWkBJCMiLf8_BgCUfk4Nmx7dkJ=2qxmaP1yZ+mLw@mail.gmail.com>
X-Original-X-Complaints-To usenet@ger.gmane.org
Xref csiph.com linux.debian.maint.python:8433

Show key headers only | View raw


Tiago Ilieve <tiago.myhro@gmail.com> writes:

> Ok. As this seems to be considered very wrong, I've separated the
> package[1], between "bootstrap-vz" and "python-bootstrap-vz". The
> first one contains binaries/man pages/etc. and the later contains the
> library with everything packaged by Pybuild.

Is there really a need for this separation? If the Python modules are
installed to an application-private directory, then by definition they
will not be publicly importable. So the Python libraries don't make much
sense as a separately installable package.

Why not simply have the application package also contain the private
Python libraries it needs?

For an example of how I've done this, see my ongoing refactor of ‘dput’
<URL:https://notabug.org/bignose/dput/src/packaging-upgrade/debian>. The
pacakging uses Pybuild to manage the Python libraries and installs them
to an application-private location.

There is no separate Python library package, because ‘dput’ is the only
binary package that would use them and it just installs them itself.

-- 
 \        “A right is not what someone gives you; it's what no one can |
  `\                                     take from you.” —Ramsey Clark |
_o__)                                                                  |
Ben Finney

Back to linux.debian.maint.python | Previous | NextPrevious 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