The "-C--enable-qcas" is rejected. >>>+ /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py -C--enable-qcas /home/sagitter/rpmbuild/BUILD/giacpy-0.7.3/pyproject-wheeldir
Usage: /usr/bin/python3 -m pip wheel [options] <requirement specifier> ... /usr/bin/python3 -m pip wheel [options] -r <requirements file> ... /usr/bin/python3 -m pip wheel [options] [-e] <vcs project url> ... /usr/bin/python3 -m pip wheel [options] [-e] <local project path> ... /usr/bin/python3 -m pip wheel [options] <archive url/path> ... Arguments to --config-settings must be of the form KEY=VAL <<< Using "-C--global-option=--enable-qcas" is the right choice. On 07/07/24 22:22, Miro Hrončok wrote:
On 07. 07. 24 22:05, Sandro wrote:On 07-07-2024 19:57, Antonio T. sagitter wrote:How i can pass configuration options to %pyproject_wheel? For example, i wish to change this line %py3_build -- --enable-qcas --executable="%{__python3} -s" with %pyproject_wheel ... but i don't know how to include "--enable-qcas"I believe `-C--enable-qcas` is waht you are looking for. It's explained in the pyproject-rpm-macros README, which is what you see when visiting https://src.fedoraproject.org/rpms/pyproject-rpm-macros (search for / scroll down to "Passing config settings to build backends").If the project uses setuptools, you might need to use: %pyproject_wheel -C--global-option=--enable-qcas Because that's how setuptools expects configuration key=value pairs.
Thanks. -- --- Antonio Trande Fedora Project https://fedoraproject.org/wiki/User:Sagitter mailto: sagitter@xxxxxxxxxxxxxxxxx GPG key: 0x40FDA7B70789A9CD GPG keys server: https://keys.openpgp.org/
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature
-- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue