Path: csiph.com!weretis.net!feeder9.news.weretis.net!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod From: PICCA Frederic-Emmanuel Newsgroups: linux.debian.maint.python Subject: install entry points in a dedicated binary package Date: Wed, 05 Jun 2024 09:20:01 +0200 Message-ID: X-Original-To: debian-python X-Mailbox-Line: From debian-python-request@lists.debian.org Wed Jun 5 07:15:09 2024 Old-Return-Path: X-Amavis-Spam-Status: No, score=-1.108 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, FOURLA=0.1, MONOTONE_WORDS_2_15=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=no autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .synchrotron-soleil. - helo: .smtpout01-ext2.partage.renater. - helo-domain: .renater.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 Dkim-Filter: OpenDKIM Filter v2.10.3 zmtaout05.partage.renater.fr DDE45A0076 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailer: Zimbra 8.8.15_GA_4581 (ZimbraWebClient - FF126 (Linux)/8.8.15_GA_4581) Thread-Index: IQXbwfYZzVKVVU3jQZ2+Na/+KACdkg== Thread-Topic: install entry points in a dedicated binary package X-Virus-Status: Clean X-Renater-Ptge-Spamstate: clean X-Renater-Ptge-Spamcause: gggruggvucftvghtrhhoucdtuddrgedvledrvdelhedgudduvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucftgffptefvgfftnecuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffkufggtgfgofhtsehtjegttdiitdejnecuhfhrohhmpefrkfevveetucfhrhgvuggvrhhitgdqgfhmmhgrnhhuvghluceofhhrvgguvghrihgtqdgvmhhmrghnuhgvlhdrphhitggtrgesshihnhgthhhrohhtrhhonhdqshholhgvihhlrdhfrheqnecuggftrfgrthhtvghrnhepvdevudeigfekleeijeekheeftdeihfehfeekuddvhfeluddufeekueejkeeutdegnecukfhppedutddrvdehgedrvdegtddrudegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedutddrvdehgedrvdegtddrudeghedphhgvlhhopeiishhtohhrvgdqsgefqddtuddvrdhprghrthgrghgvrdhrvghnrghtvghrrdhfrhdpmhgrihhlfhhrohhmpehfrhgvuggvrhhitgdqvghmmhgrnhhuvghlrdhpihgttggrsehshihntghhrhhothhrohhnqdhsohhlvghilhdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepuggvsghirghnqdhphihthhhonheslhhishhtshdruggvsghirghnrdhorhhg X-Mailing-List: archive/latest/21931 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/245411462.45908093.1717570657772.JavaMail.zimbra@synchrotron-soleil.fr Approved: robomod@news.nic.it Lines: 51 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 5 Jun 2024 08:57:37 +0200 (CEST) X-Original-Message-ID: <245411462.45908093.1717570657772.JavaMail.zimbra@synchrotron-soleil.fr> Xref: csiph.com linux.debian.maint.python:15900 Hello, I am modernizing the binoculars package. I switch it to pyproject.toml and now I need to update the packaging. I would like your advices in order to replace this d/rules --- export DH_VERBOSE=1 export PYBUILD_NAME=binoculars export PYBUILD_AFTER_INSTALL=rm -rf {destdir}/usr/bin/ %: dh $@ --with python3,sphinxdoc --buildsystem=pybuild override_dh_auto_test: dh_auto_test -- --system=custom --test-args='{interpreter} -m unittest discover -s tests -t {dir} -v' override_dh_install: dh_numpy3 dh_install # install scripts into binoculars python3 setup.py install_scripts -d debian/binoculars/usr/bin override_dh_sphinxdoc: ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc/source build/html # HTML generator dh_installdocs -p binoculars-doc "build/html" dh_sphinxdoc -O--buildsystem=pybuild endif --- with the something fonctionnaly equivalent which install the entry points only in the binoculars package. replace this combination export PYBUILD_AFTER_INSTALL=rm -rf {destdir}/usr/bin/ ... # install scripts into binoculars python3 setup.py install_scripts -d debian/binoculars/usr/bin With ??? thanks for your help Frederic