Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #12485 > unrolled thread
| Started by | PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> |
|---|---|
| First post | 2020-04-17 09:50 +0200 |
| Last post | 2020-05-05 10:50 +0200 |
| Articles | 5 — 3 participants |
Back to article view | Back to linux.debian.maint.python
pybuild and setup.py in unusual place PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2020-04-17 09:50 +0200
Re: pybuild and setup.py in unusual place Andrey Rahmatullin <wrar@debian.org> - 2020-04-17 10:00 +0200
Re: pybuild and setup.py in unusual place Andrey Rahmatullin <wrar@debian.org> - 2020-04-17 10:20 +0200
RE:pybuild and setup.py in unusual place PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2020-04-17 10:30 +0200
Re: pybuild and setup.py in unusual place Peter Pentchev <roam@ringlet.net> - 2020-05-05 10:50 +0200
| From | PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> |
|---|---|
| Date | 2020-04-17 09:50 +0200 |
| Subject | pybuild and setup.py in unusual place |
| Message-ID | <zWtV7-15v-3@gated-at.bofh.it> |
Hello, I have a packahe where the setup.py is not located at the root of the directory.
So I need to do
override_dh_auto_XXX:
dh_auto_XXX -- -d <dpath>
Is there a export somthing whcih allows to says where is the setup.py to deal with ?
thanks
Frederic
[toc] | [next] | [standalone]
| From | Andrey Rahmatullin <wrar@debian.org> |
|---|---|
| Date | 2020-04-17 10:00 +0200 |
| Message-ID | <zWu4N-18W-3@gated-at.bofh.it> |
| In reply to | #12485 |
[Multipart message — attachments visible in raw view] — view raw
On Fri, Apr 17, 2020 at 07:31:55AM +0000, PICCA Frederic-Emmanuel wrote: > Hello, I have a packahe where the setup.py is not located at the root of the directory. > > So I need to do > > override_dh_auto_XXX: > dh_auto_XXX -- -d <dpath> > > Is there a export somthing whcih allows to says where is the setup.py to deal with ? Just pass that -D to dh(1)? (assuming you meant -D and not -d). -- WBR, wRAR
[toc] | [prev] | [next] | [standalone]
| From | Andrey Rahmatullin <wrar@debian.org> |
|---|---|
| Date | 2020-04-17 10:20 +0200 |
| Message-ID | <zWuoa-1wn-9@gated-at.bofh.it> |
| In reply to | #12486 |
[Multipart message — attachments visible in raw view] — view raw
On Fri, Apr 17, 2020 at 08:10:34AM +0000, PICCA Frederic-Emmanuel wrote: > subsidiary question is it possible to run a command before all the dh_auto_xxx without overrideing eveythings ? See "Injecting commands before or after a step" in dh(1). -- WBR, wRAR
[toc] | [prev] | [next] | [standalone]
| From | PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> |
|---|---|
| Date | 2020-04-17 10:30 +0200 |
| Message-ID | <zWuoa-1wn-11@gated-at.bofh.it> |
| In reply to | #12486 |
I found this
--sourcedirectory=src
is it equivalent to -D
subsidiary question is it possible to run a command before all the dh_auto_xxx without overrideing eveythings ?
I need to run a command whcih generate the setup.py file so I need to do
override_dh_auto_xxxx:
do_something
dh_auto_xxx
cheers
Frederic
[toc] | [prev] | [next] | [standalone]
| From | Peter Pentchev <roam@ringlet.net> |
|---|---|
| Date | 2020-05-05 10:50 +0200 |
| Message-ID | <A31r4-67f-1@gated-at.bofh.it> |
| In reply to | #12488 |
[Multipart message — attachments visible in raw view] — view raw
On Fri, Apr 17, 2020 at 08:10:34AM +0000, PICCA Frederic-Emmanuel wrote: > I found this > > --sourcedirectory=src > > is it equivalent to -D > > > subsidiary question is it possible to run a command before all the dh_auto_xxx without overrideing eveythings ? > > I need to run a command whcih generate the setup.py file so I need to do > > 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 -- 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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.maint.python
csiph-web