4 Jan
2021
4 Jan
'21
12:57
Hi, On 1/4/21 1:02 PM, Mathias Homann wrote:
Hi,
I'm trying to get a python package to build for Tumbleweed, and the macro %{py_requires} is gone - what do I use instead?
Cheers MH
Have you read https://en.opensuse.org/openSUSE:Packaging_Python? Especially https://en.opensuse.org/openSUSE:Packaging_Python#BuildRequires which mentions: BuildRequires: %{pythons} But usually that won't be required, as, for example BuildRequires: %{python_module setuptools} already pulls the needed (build) dependencies. I hope this helps and best regards, Sebastian