Path: csiph.com!news.redatomik.org!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Sebastian Humenda Newsgroups: linux.debian.maint.python Subject: Re: Building a module and an application package from one source Date: Wed, 31 Aug 2016 20:30:01 +0200 Message-ID: References: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Wed Aug 31 18:26:34 2016 Old-Return-Path: X-Amavis-Spam-Status: No, score=-12.7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -7 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="u4fa3oga3bnq664c" Content-Disposition: inline X-Operating-System: Debian GNU/Linux 6.0 Squeeze X-Editor: Vim 7.2 User-Agent: Mutt/1.6.2-neo (2016-07-23) X-Provags-ID: V03:K0:iDZrHnrXzSJkdSscpn3N3kHD4nRhv5RWpN8/wACA/af7Q+XsE7G nfejPagEISwhZmKPZJVj9BeCwAN6f2HwthAUxwcCab3Kd9OAVKBpQsQPAxk0RwbJvqFhEd0 VEJZP8TUKoGVOBXaYydUB/00RgPmMBQIwg8LLS450PFwkMpPV4iKdF5s7bfz7N6o3hlAwZe Mf2GWaT90dPNXz6rz61bQ== X-Ui-Out-Filterresults: notjunk:1;V01:K0:4Uo/7UO4qmE=:1L52hVU1Puy+dmMk1mOT4/ ZeWYs1bgw2h79x8P7ZGhyvICsd58XgFuyGlPJKSY0tvDT1gFdwO8OOW03SblBJTOSd/2x1ejE JPAqXCtUxbDXX5fDw/2ebPz/X+Dk34lGkNZ3iUGDKasBP5E4h6RJA8WIynYRjmHUkXDpB6qwd YXLy3oQbFNcXhG0/3lLUWKdlv38ENPJ1QCuZF+d5uIiKzcFgtcwu9Hf9sPwNNbZnB8cs2TNW8 lMopbNVp19Xpz1QGDc5BjBBVFWfpi7i97W0ZeH6P832JW5ExqLhVqEdidOdIf2uzhezJo8/WT 2xKuObVf5JeOZuLHnfwwr3C9bUzcv5s9wIjifDxxE4z5N+9YBhVA8hBHARbRzd7qXM4JIx9Cz oQtUw6BVcAvGmzd9NXtSFSdj6mIaEbYw0gUZok3u/9J4IMttS/iOKGpfOUDMb3xsKpiX++c6l xhL6b2fqf2bRgt12cWmGMH8lhnpLSNfaMlH6Y3oKlL2xytZcE21smuTgs33N1bBe/ubkCon/w YjHZd+bEc5ys/s5HCuGzkaa9E91KF1FsYuNXDNSwGulmHUT592EqGyGwpNirxwZvwIhq3w5K0 aOLzwSAxGloHKOKPwxEAvXR5efg4jGBzjig8kUE6jGqKZUI0Xf3ydEgUh1SdJMWQwYqwLLrNv 8RCeqctrA7PLZEXoSmciOaY3jVKpCVHlkk0zb4vahjgFuRvoyTwnbiEib+fZxqC5reTooAdFi 07xuhj79HzOxgDDuYkgqZjS7zZS0EERhYTuUot03tcP0watT//Y40eIQILI= X-Mailing-List: archive/latest/14174 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20160831182607.6von3uxbizbgu2xp@Kraftkrust Approved: robomod@news.nic.it Lines: 65 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 31 Aug 2016 20:26:07 +0200 X-Original-Message-ID: <20160831182607.6von3uxbizbgu2xp@Kraftkrust> X-Original-References: <20160825052353.etfifqz7qt4e5n3y@Kraftkrust> <85eg5dwgln.fsf@benfinney.id.au> <20160825101035.ddedvloa72ny3urv@Kraftkrust> Xref: csiph.com linux.debian.maint.python:8833 --u4fa3oga3bnq664c Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Sebastian Humenda schrieb am 25.08.2016, 12:10 +0200: >Ben Finney schrieb am 25.08.2016, 15:41 +1000: [...] >>Is the =E2=80=9Ccommand-line application=E2=80=9D just a single program f= ile, which >>imports the library and does its stuff? >> >>If so, that file should be installed to the right place (=E2=80=98/usr/bi= n/foo=E2=80=99 >>probably) by the build system. You then configure =E2=80=98dh_install=E2= =80=99 to >>install that file specifically to the =E2=80=98foo=E2=80=99 binary packag= e. >How would I do that? dh_auto_install moves the script too debian/gladtex/u= sr/bin >along with the module (to */usr/lib). I now set the PYBUILD_NAME to the na= me of the library package >(python3-gleetex) and move the file manually after dh_auto_install. Looks = hacky >though. >I've uploaded the package to ssh://git.debian.org/git/python-modules/packa= ges/gladtex.git. I would ask whether you please could have a look at the package, so that I = can finish the packaging. Thanks Sebastian --=20 Web: http://www.crustulus.de (English|Deutsch) | Blog: http://www.crustulu= s.de/blog FreeDict: Free multilingual dictionaries - http://www.freedict.org Freies Latein-Deutsch-W=C3=B6rterbuch: http://www.crustulus.de/freedict.de.= html --u4fa3oga3bnq664c Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXxyE/AAoJEGiaBAINfqmhVf4P/i73hrY3XoNwc44JPsCd7xVu Ol36mb+jzVde0qgp+iywkYfX95jwQDioVUB9vKH6XcuINjhHZX9sLtT5HYWM3i3W dGohIbXjADOCo4UH4DiWWGakBjLYUASSI3bGEoBUQd/keeSL78UnovCvMDbWACw8 UKOVRiG1RMuknS12pymPbN4cmG2KsmKWiEcB16STQxd+K4h4Sh76oDIvvnMWPBrV D8WIJhDRXnFf9bOsw4HwAAC9/OHJUz/1pnXUhSlOCs//JMolI8F/YHPmeSUIHB2I o33jQUizPL8lUahneUWwANbVqd1x9kdgl6I8kHYWvf1djp38rel013qK/pN1xUp/ CGf9fwuqhePaoHoEIsqO76Wk5oN1cwpnUwaftGv0gT56kC5ZC1mizuMlfH8Irb9L PvAEc42pZu9mBfeYzM+VIG4Rc4VW3WkUvaNIoQNLEj5QtnG1LZJQM5W7m5w8WBeR Rum2TvsXneFjqwNZBbBwoMSvjidqA2pXG5DX5y6e3/tc4UWiH68F7pAuKkeYg+8b kG7qjPqszpfCCBRPGxUrPJyFG6pTdcyofgQKd3AHrQJMZMPc+El6/Miu1V+LwOBz OZyM2jLt+pjq5nYJaX6+x+x/6kaaRDQaA1RLJOmjkX7mJmRjHUYo39idbBpVnnrZ nRrQulGg/yDepEamWxpn =OOsL -----END PGP SIGNATURE----- --u4fa3oga3bnq664c--