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.

--
Miro Hrončok
--
Phone: +420777974800
Fedora Matrix: mhroncok

--
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
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/python-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to