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


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

Re: Packaging Grip

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Dmitry Shachnev <mitya57@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Packaging Grip
Date Thu, 07 Apr 2016 10:10:02 +0200
Message-ID <rldaO-RS-5@gated-at.bofh.it> (permalink)
References <rjfqq-2i4-11@gated-at.bofh.it> <rkiFA-89A-3@gated-at.bofh.it> <rl2fo-Yp-11@gated-at.bofh.it> <rl8kO-5xu-17@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Apr 7 08:03:38 2016
Old-Return-Path <mitya57@gmail.com>
X-Amavis-Spam-Status No, score=-11.769 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, CAPINIT=0.5, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham autolearn_force=no
X-Policyd-Weight DYN_NJABL=ERR(0) NOT_IN_SBL_XBL_SPAMHAUS=-1.5 BL_NJABL=ERR(-1.5) CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-wm0-f43.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=W2KtcqCyCJDGCTj4mKT3pTAJOzAUX9EO07Iu4koQuxg=; b=i5IdFK6zuu8PaY3AknkuPqW7RbEJUJx7BL/3d9xMgZUQfZY7EPIzIIv3j5qHM8nekj CP0ZlmiiNrNglFB3r9Jro6LeOCYO6rGED3c2Ckw6W2y4V3CXZGUitpUGGntXP34SX8yk VhnqFwCbocym5BFM1FbyVxR76/OUSp+An+W5UPIDQDxQQTHRBSVdKHDpldaTw5+5BMcX lyo8kMDwaM3tSG0BKgHWT/T0KCY06UEJiyY5Fcuvm1BPx+Ojk1odciDWNnCrP0gLHSyG 3G8yV2qKlzq2MDK6L48YTMpwEU3UPwuud5lCSE0uh8LT9J7gzbXkGizwOYR+5KjWaPmI 9NaA==
X-Gm-Message-State AD7BkJIs3x2YezcB5LlLQKiqeuMMH3XhNwpcPVmOHknRPDa0IVyKVd60dM7UG6mNMHEfcA==
X-Received by 10.194.120.229 with SMTP id lf5mr2053458wjb.151.1460016186888; Thu, 07 Apr 2016 01:03:06 -0700 (PDT)
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj"
Content-Disposition inline
User-Agent Mutt/1.5.24 (2015-08-30)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/13729
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20160407080304.GA2528@mitya57.me
Approved robomod@news.nic.it
Lines 66
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 7 Apr 2016 10:03:04 +0200
X-Original-Message-ID <20160407080304.GA2528@mitya57.me>
X-Original-References <CALdTKe8Z0a2qbwApkhaxo0m3Fm34JCHXWJMiHsSjcvxNoj0Stw@mail.gmail.com> <CALdTKe8QTYd5YEN6Rze-2CApq_z_DAhvg-eRGEpWvOSg+RXngg@mail.gmail.com> <20160406202159.GC2199@mitya57.me> <CALdTKe9xRmarrBSh6vnMcyEwY6DVQnYTL7qW+ywie0nN=Tt=Zg@mail.gmail.com>
Xref csiph.com linux.debian.maint.python:8402

Show key headers only | View raw


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

Hi Tiago,

On Wed, Apr 06, 2016 at 11:37:24PM -0300, Tiago Ilieve wrote:
> Thanks for taking the time to explain me this, but actually I got a
> little bit confused. Because yes, what you said is consistent with
> what I found on articles about Python packaging on wiki.d.o[1][2], but
> at the same time there are well-known packages in the archive that
> contradicts this, specially the item "3".
>
> The package that I used as an example is tox. It used to be called
> "python-tox", which is now a transitional dummy package[3]. Now is
> named "tox"[4], because it is intended to be used as a CLI
> application, but at the same time it ships its files in
> "dist-packages"[5].

There are always exceptions of course. If the primary use of your package
is its command-line interface, and you don't expect other packages in
Debian to use its Python API, then shipping everything in one package
called grip is probably fine.

> I followed the tox example and named the package "grip", not
> "python-grip", because I'm standing on the shoulders of giants here. I
> don't really know its maintainer, Barry Warsaw, but the guy has both
> "@debian.org" and "@python.org" e-mail addresses[6], so he clearly
> knows about Debian packaging and the Python ecosystem itself way more
> than I do.
>
> The problem with the item number "4" is that I never got it working as
> intended. So every time I have to create my own "/usr/bin/" scripts or
> symlinks, discarding those auto-generated entry point scripts.

If upstream entry points don't work, then having your own ones is fine.

Though in my experience upstream entry points for public packages usually
worked.

--
Dmitry Shachnev

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


Thread

Packaging Grip Tiago Ilieve <tiago.myhro@gmail.com> - 2016-04-02 00:10 +0200
  Re: Packaging Grip Tiago Ilieve <tiago.myhro@gmail.com> - 2016-04-04 21:50 +0200
    Re: Packaging Grip Dmitry Shachnev <mitya57@debian.org> - 2016-04-06 22:30 +0200
      Re: Packaging Grip Tiago Ilieve <tiago.myhro@gmail.com> - 2016-04-07 05:00 +0200
        Re: Packaging Grip Scott Kitterman <debian@kitterman.com> - 2016-04-07 06:00 +0200
          Re: Packaging Grip Barry Warsaw <barry@debian.org> - 2016-04-07 16:40 +0200
        Re: Packaging Grip Dmitry Shachnev <mitya57@debian.org> - 2016-04-07 10:10 +0200

csiph-web