Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #11755
| Path | csiph.com!news.uzoreto.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Ole Streicher <olebole@debian.org> |
| Newsgroups | linux.debian.maint.python |
| Subject | pybuild mysteriously does not copy all files |
| Date | Wed, 04 Sep 2019 11:40:01 +0200 |
| Message-ID | <yCzVD-1r2-3@gated-at.bofh.it> (permalink) |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Wed Sep 4 09:33:08 2019 |
| Old-Return-Path | <news@liska.ath.cx> |
| X-Amavis-Spam-Status | No, score=-6.751 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.249, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -5.5 |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
| MIME-Version | 1.0 |
| Content-Type | text/plain |
| Lines | 49 |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/17271 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/87zhjkqv34.fsf@orrococo |
| Approved | robomod@news.nic.it |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Wed, 04 Sep 2019 11:17:19 +0200 |
| X-Original-Message-ID | <87zhjkqv34.fsf@orrococo> |
| Xref | csiph.com linux.debian.maint.python:11755 |
Show key headers only | View raw
Hi, I am not sure whether this is a bug in dh-python or if something is wrong with my package (python-asdf). The package has an (almost) standard setup, so dh_build is not overridden. However, when I try to package, some subdirectories are not copied; namely `asdf/external`: ----------------------------8<---------------------------------- dh_auto_build -O--buildsystem=pybuild I: pybuild base:217: /usr/bin/python3 setup.py build running build running build_py creating /build/python-asdf-2.4.2/.pybuild/cpython3_3.7_asdf/build/asdf [...] ----------------------------8<---------------------------------- The subdir `asdf/external` which is in the source is not created and not filled during this process. However, when I run `python3 setup.py build` or `pybuild --build` manually, everything is correct: ----------------------------8<---------------------------------- $ python3 setup.py build -vvv running build running build_py creating build creating build/lib creating build/lib/asdf copying asdf/yamlutil.py -> build/lib/asdf [...] creating build/lib/asdf/extern copying asdf/extern/RangeHTTPServer.py -> build/lib/asdf/extern copying asdf/extern/__init__.py -> build/lib/asdf/extern copying asdf/extern/atomicfile.py -> build/lib/asdf/extern copying asdf/extern/decorators.py -> build/lib/asdf/extern [...] ----------------------------8<---------------------------------- Is there any idea what happens here? Why does pybuild (or setup.py) behave differently when called from dh_python than directly? How can I ensure that all files are copied during dh_auto_build? Best regards Ole
Back to linux.debian.maint.python | Previous | Next | Find similar | Unroll thread
pybuild mysteriously does not copy all files Ole Streicher <olebole@debian.org> - 2019-09-04 11:40 +0200
csiph-web