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


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

Separate lib and executable packages?

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Gordon Ball <gordon@chronitis.net>
Newsgroups linux.debian.maint.python
Subject Separate lib and executable packages?
Date Fri, 07 Feb 2020 12:50:02 +0100
Message-ID <zxaj0-1TJ-3@gated-at.bofh.it> (permalink)
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Feb 7 11:45:32 2020
Old-Return-Path <gordon@chronitis.net>
X-Amavis-Spam-Status No, score=-7.2 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -4.6
X-Greylist delayed 551 seconds by postgrey-1.36 at bendel; Fri, 07 Feb 2020 11:45:19 UTC
Dkim-Signature v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=chronitis.net; s=mythic-beasts-k1; h=Subject:To:From:Date; bh=DAHmmE3HoJalF+YdYtlo2biKMT3+PduVRzOJgKRtjjo=; b=l6zQWBhVB2DWb4IFbZk3lkWsdj UQfYYsy/vS+pUBHQPiz+NUd8/Aa2wEQnzfvqz0+vuD4sINaV5ZCgcmEw3XJ3EWtArsjAaR0pJoCJE NtFWc2Ja2cl2CyT5z1MgUtsXT5K1ThtDY4CctzN91HZ2RlyOOjaKxzQrG94coHIiwznS13wdPDX0n az6Z3hIAry5t+mTuGo2A2tseG2MaVi34DIzmVmsKtjmkSCoYsOI9kRTSIvecUWYyGJzeP4FU+QWCT LJVZ+dQo9iKsb7XwT2uTmI+sE0VOkl9HLDJGspNc+1IoTTGfCJ4eCFwCX02/JPH0mcODduBWruRK9 RzLAZt2g==;
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
X-Mailing-List <debian-python@lists.debian.org> archive/latest/17900
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20200207113600.fzlk2wzks4hwazfd@emissary.chronitis.net
Approved robomod@news.nic.it
Lines 25
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 7 Feb 2020 11:36:00 +0000
X-Original-Message-ID <20200207113600.fzlk2wzks4hwazfd@emissary.chronitis.net>
Xref csiph.com linux.debian.maint.python:12276

Show key headers only | View raw


The library style guide [1] says under _Executables and library
packages_:

> Here are some recommendations. We do not have a standard (though maybe
> we should)

regarding whether a library with an associated executable should be
split across `foo` and `python3-foo` or just bundled into `python3-foo`.
Does anyone consider that there is now a standard either way?

In eg, ipython this means shipping `ipython3` (containing a ~300 byte
entrypoints script and a similarly sized man page) as a separate
package to the implementation in `python3-ipython`.

I wonder if this split really makes sense; it feels like adding the
overhead of an extra binary package to avoid not having a very small
file in /usr/bin if you're only planning to use the library.

Does it seem reasonable to drop the executable package and just make it
a Provides: of the library package? (and is there any potential breakage
here that I'm overlooking)

Gordon

[1]: https://wiki.debian.org/Python/LibraryStyleGuide

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


Thread

Separate lib and executable packages? Gordon Ball <gordon@chronitis.net> - 2020-02-07 12:50 +0100
  Re: Separate lib and executable packages? Ondrej Novy <novy@ondrej.org> - 2020-02-07 13:50 +0100
  Re: Separate lib and executable packages? Mattia Rizzolo <mattia@debian.org> - 2020-02-07 17:10 +0100
    Re: Separate lib and executable packages? Scott Kitterman <debian@kitterman.com> - 2020-02-08 04:20 +0100
      Re: Separate lib and executable packages? Ondrej Novy <novy@ondrej.org> - 2020-02-08 14:00 +0100
        Re: Separate lib and executable packages? Scott Kitterman <debian@kitterman.com> - 2020-02-08 15:30 +0100
      Re: Separate lib and executable packages? Gordon Ball <gordon@chronitis.net> - 2020-02-08 21:00 +0100
        Re: Separate lib and executable packages? Ondrej Novy <novy@ondrej.org> - 2020-02-08 21:20 +0100
          Re: Separate lib and executable packages? Gordon Ball <gordon@chronitis.net> - 2020-02-11 11:00 +0100
        Re: Separate lib and executable packages? Scott Kitterman <debian@kitterman.com> - 2020-02-09 04:10 +0100

csiph-web