Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Peter Pentchev Newsgroups: linux.debian.maint.python Subject: Re: pybuild and setup.py in unusual place Date: Tue, 05 May 2020 10:50:02 +0200 Message-ID: References: X-Original-To: PICCA Frederic-Emmanuel X-Mailbox-Line: From debian-python-request@lists.debian.org Tue May 5 08:46:59 2020 Old-Return-Path: X-Amavis-Spam-Status: No, score=-11.206 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RDNS_NONE=0.793, UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.6 X-Greylist: delayed 357 seconds by postgrey-1.36 at bendel; Tue, 05 May 2020 08:46:46 UTC MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Content-Disposition: inline X-Mailing-List: archive/latest/18242 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20200505083552.GA140052@straylight.m.ringlet.net Approved: robomod@news.nic.it Lines: 59 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, 5 May 2020 11:35:52 +0300 X-Original-Message-ID: <20200505083552.GA140052@straylight.m.ringlet.net> X-Original-References: <20200417075922.GA3264@belkar.wrar.name> Xref: csiph.com linux.debian.maint.python:12556 --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 17, 2020 at 08:10:34AM +0000, PICCA Frederic-Emmanuel wrote: > I found this >=20 > --sourcedirectory=3Dsrc >=20 > is it equivalent to -D >=20 >=20 > subsidiary question is it possible to run a command before all the dh_au= to_xxx without overrideing eveythings ? >=20 > I need to run a command whcih generate the setup.py file so I need to do >=20 > override_dh_auto_xxxx: > do_something > dh_auto_xxx If you can depend on a recent enough version of pybuild (and Debian unstable, testing, stable, and oldstable should all be okay - I only ran across this when trying to backport stuff to Ubuntu 16.04, yeah, yeah, I know, but customers, right?), you can set the PYBUILD_DIR variable in the environment; take a look at https://sources.debian.org/src/confget/2.3.4-1/debian/rules/#L33 G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@debian.org pp@storpool.com PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13 --liOOAslEiF7prFVr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAl6xJWIACgkQZR7vsCUn 3xP1chAAi+cimYUxoht1POWeNAjhnOBLT6JDwG3LchOskJlWcLUOeFu9Hn8ZMx4r JomecxrVzfuBsEFOIQOoNa87neuml+cQ+X7iSQveI+3GvvWxkiUu73hPvHKXNDJ3 p+wI8NKcYiJ1Tu+G+rfPCCu6GWbYLbUw7zcYJIBPn0IUGBFZVAjAIf4uelGFEtue Kv8ff+zM+5O/2Fv3GJrGRBqX3+XTwXKYkpAYqd7FTop5AFBUZZSAHcrnOaAAxyLn eKqFJg+ATJihrcD1FFdIW0/aNGggX3zihVJOZO/Jy9hweLzwB+cW1hzKzUbVjBR7 29HBDbw430pYS3J4ZtolqJghoIgAG6pNSVY3CnFoW2uXUY4T20kQwMh81TbJObc9 iH9tYB/YU6pGV7MoS97DohAsOV74l2hxx3rioaFntK34Jjb2BJdp2UFJKiNSSxv9 R2iigaNitqPbaDZ07Bb7vTaGzpjVNiq6NB5ABbQ7k0ewFGoZWgk7xjEPFeR3Sw5w jn/VvHZrR14O1lAkhy9ZATcy5ZUL7RpbEZdj/5FbFcB0Tot5H101NWXswNvIoY2v ALGrmZi/q7SZKHOsd7V3cSYdDYkvAdPBT/3KlWiBglv0HA3X8FY17syqoVdZCIam u2dR3x0s7suH5EQg9JmwGuijFgnuKHgsS1afqtl89OJXnD8wP7I= =AdPR -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--