Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #17287
| Path | csiph.com!pasdenom.info!weretis.net!feeder8.news.weretis.net!srl.newsdeef.eu!news.corradoroberto.it!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | picca <picca@debian.org> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Building multiple wheel with pybuild |
| Date | Tue, 23 Dec 2025 10:00:01 +0100 |
| Message-ID | <M56pj-5267-7@gated-at.bofh.it> (permalink) |
| References | <M446d-4k45-3@gated-at.bofh.it> <M4Tip-4T6y-3@gated-at.bofh.it> <M4VNf-4URV-5@gated-at.bofh.it> |
| X-Original-To | Stefano Rivera <stefanor@debian.org> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Tue Dec 23 08:57:33 2025 |
| Old-Return-Path | <picca@debian.org> |
| X-Amavis-Spam-Status | No, score=-109.51 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, LDO_WHITELIST=-5, RCVD_IN_DNSWL_MED=-2.3, UNPARSEABLE_RELAY=0.001, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no |
| MIME-Version | 1.0 |
| Content-Type | text/plain |
| X-Debian-User | picca |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/23528 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/873451zian.fsf@page |
| Approved | robomod@news.nic.it |
| Lines | 36 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | debian-python <debian-python@lists.debian.org> |
| X-Original-Date | Tue, 23 Dec 2025 09:58:08 +0100 |
| X-Original-Message-ID | <873451zian.fsf@page> |
| X-Original-References | <87sed5tkrn.fsf@page> <877buez6we.fsf@page> <yxk3bqeqm7ys5bhj7lffhszamggcgcclxxqbcvg3yw7jtbsjjl@jhsqqubjcmoj> |
| Xref | csiph.com linux.debian.maint.python:17287 |
Show key headers only | View raw
Stefano Rivera <stefanor@debian.org> writes:
> That's a test-case so the rules file isn't structured exactly the way a
> package would be, but it should explain the idea.
I did this now, it is great,
Do you have an idea about this error now
E: pybuild pybuild:480: build: plugin custom failed with: exit code=1:
E: pybuild pybuild:480: print_args: plugin custom failed with: 'print_args' is not a valid main.<locals>.Step
E: pybuild pybuild:480: print_args: plugin custom failed with: 'print_args' is not a valid main.<locals>.Step
E: pybuild pybuild:480: print_args: plugin custom failed with: 'print_args' is not a valid main.<locals>.Step
It comes from an install-cctbx.sh script that I am using in order to install all
the files at the right place....
# build paths
pybuilddir=$(pybuild -s custom -p "$pyver" --print "{build_dir}")
it is called like this in the rule file (this the specific installation)
override_dh_auto_install: setup.py annlib_adaptbx ccp4io_adaptbx gui_resources
# install the cctbx python modules
dh_auto_install
# install the dxtbx python modules
PYBUILD_NAME=dxtbx dh_auto_install --sourcedirectory=dxtbx
# specific installation for the cctbx build directory
dh_auto_build -- -s custom --build-args="debian/install-cctbx.sh -- --pyver={version} --srcdir=$(CURDIR) --builddir={build_dir}_ --modules='$(MODULES)'"
Cheers
Fred
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar
Building multiple wheel with pybuild picca <picca@debian.org> - 2025-12-20 13:20 +0100
Re: Building multiple wheel with pybuild picca <picca@debian.org> - 2025-12-22 20:00 +0100
Re: Building multiple wheel with pybuild Stefano Rivera <stefanor@debian.org> - 2025-12-22 22:40 +0100
Re: Building multiple wheel with pybuild picca <picca@debian.org> - 2025-12-23 10:00 +0100
Re: Building multiple wheel with pybuild stefanor@debian.org - 2025-12-23 12:50 +0100
Re: Building multiple wheel with pybuild picca <picca@debian.org> - 2025-12-24 09:40 +0100
Re: Building multiple wheel with pybuild stefanor@debian.org - 2025-12-24 16:40 +0100
Re: Building multiple wheel with pybuild Stefano Rivera <stefanor@debian.org> - 2025-12-24 17:30 +0100
csiph-web