Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #8614
| Path | csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Hugo Lefeuvre <hle@debian.org> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Python package providing both modules and an app |
| Date | Thu, 23 Jun 2016 18:40:01 +0200 |
| Message-ID | <rNfPz-4cB-3@gated-at.bofh.it> (permalink) |
| References | <rMBfr-2Hb-9@gated-at.bofh.it> <rMF9n-57L-25@gated-at.bofh.it> <rMWtA-7Ln-15@gated-at.bofh.it> <rN1jz-2IL-3@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Thu Jun 23 16:39:18 2016 |
| Old-Return-Path | <hle@owl.eu.com> |
| X-Amavis-Spam-Status | No, score=-12.699 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .eu. - helo: .relay5-d.mail.gandi. - helo-domain: .gandi.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7 |
| X-Originating-IP | 92.75.152.166 |
| Mail-Followup-To | debian-python@lists.debian.org |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" |
| Content-Disposition | inline |
| User-Agent | Mutt/1.6.0 (2016-04-01) |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/13947 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/20160623163829.GA2276@hle.local |
| Approved | robomod@news.nic.it |
| Lines | 70 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Thu, 23 Jun 2016 18:38:29 +0200 |
| X-Original-Message-ID | <20160623163829.GA2276@hle.local> |
| X-Original-References | <20160621211338.GC2172@hle.local> <8537o6xbf6.fsf@benfinney.id.au> <20160622195154.GA2416@hle.local> <85oa6sww7f.fsf@benfinney.id.au> |
| Xref | csiph.com linux.debian.maint.python:8614 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
> > The entry point is generated by 'setup.py install_scripts', which is
> > executed by pybuild after files specified in *.install have been
> > installed (correct me if I'm wrong).
>
> I haven't demonstrated for this case, but I would be surprised if that's
> how it behaves. To my mind the ‘setup.py install’ command (and hence the
> ‘… install_scripts’ command) should be part of the ‘dh build’ sequence.
>
> Again, someone should correct me if I'm wrong.
Hum, the build logs suggest that ‘setup.py install’ is ran during the
‘dh binary’/‘dh_auto_install’ sequence. Concerning the order of execution
in dh_auto_install, you're true: In fact, the files specified in
debian/*.install are installed after ‘setup.py install’ have been executed.
However, it seems that setup.py is directly installing the entry point without
storing a copy of it in the current directory, so anyway I don't see how I
could install the entry point in the application package via a debian/install
file[0].
So the question would rather be: how can I properly ask pybuild (setup.py ?)
to install the entry point in the application package (slugify) instead of
installing it in the library packages (python{3}-slugify) ?
[0] and, even if I could do it, I think I would still have to override
dh_auto_install to remove the installed entry points from the library packages,
which I originally wanted to avoid. :)
--
Hugo Lefeuvre (hle) | www.owl.eu.com
4096/ ACB7 B67F 197F 9B32 1533 431C AC90 AC3E C524 065E
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Python package providing both modules and an app Hugo Lefeuvre <hle@debian.org> - 2016-06-21 23:20 +0200
Re: Python package providing both modules and an app Ben Finney <ben+debian@benfinney.id.au> - 2016-06-22 03:30 +0200
Re: Python package providing both modules and an app Hugo Lefeuvre <hle@debian.org> - 2016-06-22 22:00 +0200
Re: Python package providing both modules and an app Ben Finney <ben+debian@benfinney.id.au> - 2016-06-23 03:10 +0200
Re: Python package providing both modules and an app Hugo Lefeuvre <hle@debian.org> - 2016-06-23 18:40 +0200
Re: Python package providing both modules and an app Hugo Lefeuvre <hle@debian.org> - 2016-06-30 08:30 +0200
Re: Python package providing both modules and an app Thomas Goirand <zigo@debian.org> - 2016-07-05 10:50 +0200
Re: Python package providing both modules and an app Barry Warsaw <barry@debian.org> - 2016-06-23 03:00 +0200
Python program as a command-line program (was: Python package providing both modules and an app) Ben Finney <ben+debian@benfinney.id.au> - 2016-06-23 03:20 +0200
Re: Python program as a command-line program (was: Python package providing both modules and an app) Barry Warsaw <barry@debian.org> - 2016-06-24 21:30 +0200
Re: Python program as a command-line program Ben Finney <ben+debian@benfinney.id.au> - 2016-06-27 09:00 +0200
Re: Python package providing both modules and an app Ian Cordasco <graffatcolmingov@gmail.com> - 2016-06-23 03:30 +0200
Re: Python package providing both modules and an app Thomas Goirand <zigo@debian.org> - 2016-07-05 10:40 +0200
Re: Python package providing both modules and an app Hugo Lefeuvre <hle@debian.org> - 2016-07-05 16:50 +0200
Re: Python package providing both modules and an app Thomas Goirand <zigo@debian.org> - 2016-07-05 21:00 +0200
csiph-web