Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Neil Williams Newsgroups: linux.debian.maint.python Subject: Re: PYTHONPATH with cmake build Date: Tue, 30 Aug 2022 20:10:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Aug 30 18:03:28 2022 Old-Return-Path: X-Amavis-Spam-Status: No, score=-114.421 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_MED=-2.3, T_SCC_BODY_TEXT_LINE=-0.01, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.6 X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/Ymd/.IKhChZcU6MiR6uEujx"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Mailing-List: archive/latest/20251 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20220830190303.03179a97@tiger.codehelp Approved: robomod@news.nic.it Lines: 50 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Andrey Rahmatullin , debian-python@lists.debian.org X-Original-Date: Tue, 30 Aug 2022 19:03:03 +0100 X-Original-Message-ID: <20220830190303.03179a97@tiger.codehelp> X-Original-References: <185024340.2308857.1661867906140.JavaMail.zimbra@synchrotron-soleil.fr> <1885471923.2393430.1661873161950.JavaMail.zimbra@synchrotron-soleil.fr> <62107125.2425333.1661875321047.JavaMail.zimbra@synchrotron-soleil.fr> <917638005.2464764.1661878944504.JavaMail.zimbra@synchrotron-soleil.fr> Xref: csiph.com linux.debian.maint.python:14413 --Sig_/Ymd/.IKhChZcU6MiR6uEujx Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 30 Aug 2022 19:02:24 +0200 (CEST) PICCA Frederic-Emmanuel wrote: > > /usr/share/perl5/Debian/Debhelper/Buildsystem.pm to be just > > "obj-$DEB_HOST_GNU_TYPE". =20 >=20 >=20 > Thanks for the info, if I an not wrong during the build process we > can setup a new builddir. So is is possible to obtain the real > builddir during the build ? PYTHONPATH can be a relative path, there is no need to try to identify the full build path (that can introduce reproducibility issues). No need to force a change to the build dir either. So just obj-$DEB_HOST_GNU_TYPE --=20 Neil Williams linux@codehelp.co.uk https://linux.codehelp.co.uk --Sig_/Ymd/.IKhChZcU6MiR6uEujx Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEf3HB6ceOc10DYMbM8WfkPIFDtoIFAmMOUNcACgkQ8WfkPIFD toKPhA//XnN7Kr6QIyDjKc+0tfyRXzKjY1uCLWp/I9BguDtR6oUa3ulHqbEGLkiy pNTGW4KcG2b/UYcOShu91EbNbot6y/wZEXswy1RrKAbgt/Cs4j76GyQAC87G6+9T 5o+RZcohORxClMF76hV65R5lIQ1sa9l3548z/6Vtg0S38U7xdUC5hoMrP+28gR/D rLu3VdPKRYr2UD9f00s56XvPoNvV0ewt0DYYl0BSMIUxSY8zfPSNU3yFYgyb3twX es7KNmBo5ytlg9aluUC7Mfntufkh1nw1DNLunssQJ+N9hno0KHS1+IbtQPZZr5q/ 2ETORNH0Jh5C6LPVg6CAUFRWOdMuVSg+S/IOLQZn6ACvY2dzZwnhqLUKS5w7GC3A Ltyo5+K2CMpazoLJobrv2g/KWP003wMZ/HlEBWYKDm2ukfRReb4VkBrU0AcYolbp JPt/0Yg4NQwA9eKdrEFb+W/HhAaQi0cwDTVG1FQ/OqIddrNEGxW7X/THDJTyuIuU 1xv98cuZa2jUML6HbWg5M+fGPfo9kUxfD+BmI8pycsRwwjUXU9Nzw/SDxnI2Va7q TwkbuEEQr+6B4hVKa1QYrYWdnAHoRtmcbMbCxojb90doP8HmfUJtWlyaCHKqkmG4 l1QjE4SIqtRUXbyzZMGFNAnDaagFrsfK0aMtiE8GnBrsphDBQCI= =TDN4 -----END PGP SIGNATURE----- --Sig_/Ymd/.IKhChZcU6MiR6uEujx--