Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #17287
| From | picca <picca@debian.org> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Building multiple wheel with pybuild |
| Date | 2025-12-23 10:00 +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> |
| Organization | linux.* mail to news gateway |
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