Path: csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!bofh.it!news.nic.it!robomod From: PICCA Frederic-Emmanuel Newsgroups: linux.debian.maint.python Subject: howto strip an install_requires with pybuild Date: Thu, 10 Feb 2022 14:40:01 +0100 Message-ID: X-Mailbox-Line: From debian-python-request@lists.debian.org Thu Feb 10 13:30:10 2022 Old-Return-Path: X-Amavis-Spam-Status: No, score=-0.68 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, MURPHY_DRUGS_REL8=0.02, RCVD_IN_DNSWL_LOW=-0.7, THREADTOPIC=2] autolearn=no autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -5.5 X-Greylist: delayed 348 seconds by postgrey-1.36 at bendel; Thu, 10 Feb 2022 13:13:47 UTC MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailer: Zimbra 8.8.15_GA_4173 (zclient/8.8.15_GA_4173) Thread-Index: Cd6jJvJs/kVTvOhwuuYDCAvkJJ4uug== Thread-Topic: howto strip an install_requires with pybuild X-Renater-Ptge-Spamstate: clean X-Mailing-List: archive/latest/19752 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/1345551435.2654945.1644498395573.JavaMail.zimbra@synchrotron-soleil.fr Approved: robomod@news.nic.it Lines: 18 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 10 Feb 2022 14:06:35 +0100 (CET) X-Original-Message-ID: <1345551435.2654945.1644498395573.JavaMail.zimbra@synchrotron-soleil.fr> Xref: csiph.com linux.debian.maint.python:13939 Hello, I am working on the silx package and the upstream install_requires is sort of wrong. It depends on the hdf5plugin, which is not necessary on Debian. the purpose of this hdf5plugin is to register an hdf5 pluging when it is uploaded. the code of the application use a try execpt in order to work without this package installer. the upstream want the full install to be contain the hdf5plugin. On Debian we just install the libhdf5-plugin- packages and that's it. So my question is do we have a way to STRIP an install_requires via pybuild (like dpkg-buildflags) or must I patch the build system and keep this patch forever :) the real problem is due to the entry_point generated which refuse to start the applciation due to the missing hdf5plugin. Cheers Frederic