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 Newsgroups: linux.debian.maint.python Subject: Re: Building multiple wheel with pybuild Date: Tue, 23 Dec 2025 10:00:01 +0100 Message-ID: References: X-Original-To: Stefano Rivera X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Dec 23 08:57:33 2025 Old-Return-Path: 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: archive/latest/23528 List-ID: List-URL: 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 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> Xref: csiph.com linux.debian.maint.python:17287 Stefano Rivera 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..Step E: pybuild pybuild:480: print_args: plugin custom failed with: 'print_args' is not a valid main..Step E: pybuild pybuild:480: print_args: plugin custom failed with: 'print_args' is not a valid main..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