Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Scott Kitterman Newsgroups: linux.debian.maint.python Subject: Re: build package xrayutilities - wheel and pip with setuptools Date: Mon, 31 Oct 2022 18:40:01 +0100 Message-ID: References: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Mon Oct 31 17:31:50 2022 Old-Return-Path: X-Amavis-Spam-Status: No, score=-12.18 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, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5.5 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5851853.GtmuftZsOp"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-Mailing-List: archive/latest/20425 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/2648305.YE0rmtQlVC@zini-1880 Approved: robomod@news.nic.it Lines: 62 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 31 Oct 2022 13:31:23 -0400 X-Original-Message-ID: <2648305.YE0rmtQlVC@zini-1880> X-Original-References: <752405ea3d71e3569b69a4ae7244f037@debian.org> <30228327.20577084.1667203068020.JavaMail.zimbra@synchrotron-soleil.fr> Xref: csiph.com linux.debian.maint.python:14573 --nextPart5851853.GtmuftZsOp Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii"; protected-headers="v1" From: Scott Kitterman To: debian-python@lists.debian.org Subject: Re: build package xrayutilities - wheel and pip with setuptools Date: Mon, 31 Oct 2022 13:31:23 -0400 Message-ID: <2648305.YE0rmtQlVC@zini-1880> In-Reply-To: References: <752405ea3d71e3569b69a4ae7244f037@debian.org> <30228327.20577084.1667203068020.JavaMail.zimbra@synchrotron-soleil.fr> On Monday, October 31, 2022 1:26:03 PM EDT Carsten Schoenert wrote: > Hello Frederic, > > Am 31.10.22 um 08:57 schrieb PICCA Frederic-Emmanuel: > >> I can build the package basically doing these modifications and by > >> adding the additional B-D package Scott did mention. Simply let > >> dh_sphinxdoc build the documentation and adding the additional needed > >> package dependencies. > > > > [your patch] > > > > In your proposition you removed the arch/indep split, is it on purpose ? > > yes, building the Sphinx based documentation doesn't need to be done > that (to me fragile) way. debhelper is smart enough to do the right > things in the correct order if you tell it to use the sphinxdoc module. Agreed. More generally, use of setup.py is being deprecated in favor of the pyproject.toml based interface with the various Python build systems (including setuptools). The approach Carsten is recommending is recommending is not only more robust, it is more future proof. At some point your upstream will probably stop including the setup.py and you don't want to depend on it if you don't need to (and you don't). Scott K --nextPart5851853.GtmuftZsOp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE53Kb/76FQA/u7iOxeNfe+5rVmvEFAmNgBmsACgkQeNfe+5rV mvGe5A/9HAp/lOenN8QNrC+zIg1hvQLsQRpTuWp9ihtIe1Q0PaPLG3hGkPrdE5rj 1pKvh5oyPJ4iaFqxhqBNIO+pUdTKcKVo6FrbWLHJZ1JP4s1F1DafiQHNWt2Jj/ec 6Wc8kZYuXTLDPL+/MN3tgsICzRPLzEnJmda2YtaoTuXEfRiId/VDKcf6n2o79YE9 EdYfUPvh5YFkbCssXeoGK5Ot5n3fP3VwjZA2YKFXwE/3eN8HaZEF+Oz/9qqdbzrp eMGNcOBQqPE2bDK6NmarNz7YPuux+rO244IlusRXBSj90Ib0Wsz6DBoe6RNkENhj iMouu+cVkJ/sbfMvNRxyuYltOk4h79jFJQdYo/hTOZ8E7yps34jxb3r5yQSDG85S Xi4VXT+m7858KO1stS8CIEugy34Z85NghPb6Ai7GtRGQTYEnrgiR8pdO8gEBcZNC 0zsXa+yjWW0cHLdW9ZsUM7s/qapPE6TMYT3YaKPhqQ7wg0TVW07zdBL8OZFO8JoR hSe3FeAbUxeX2Oq/KBkf8QobyYttyarRwI9S7b68a3l4aqIiEv2nKRKSSR+pzMRU WMG3DVzmS/OO8j3tImp2peIv6+bRUTJ4cbDk510sQpekjtGi/3ho6CZ/ux0JFy+u thUSPXTx3XkW2/oDf5RgKEtAn5XMM7MA/5DvQ2hCl2+ieivf/c8= =FD9U -----END PGP SIGNATURE----- --nextPart5851853.GtmuftZsOp--