Hi,
I'm trying to convert one of my Python package to the new guidelines.
With the former guidelines, it had the following BR:
BuildRequires: python3-devel
BuildRequires: python3dist(click)
BuildRequires: python3dist(pytest)
BuildRequires: python3dist(setuptools)
However when converting to the new guidelines, I'm encountering the
following the following error:
Handling wheel from get_requires_for_build_wheel
Requirement satisfied: wheel
(installed: wheel 0.36.2)
Handling tox-current-env >= 0.0.6 from tox itself
Requirement satisfied: tox-current-env >= 0.0.6
(installed: tox-current-env 0.0.6)
ERROR: tox config file (either pyproject.toml, tox.ini, setup.cfg) not found
There is a setup.cfg, but there is no dependency specified anywhere
in it. The deps are specified in the setup.py but don't seem to be detected:
https://github.com/click-contrib/click-default-group/blob/master/setup.py
Is there any workaround for this situation? Should I write my own pyproject.toml
in %prep?
Best regards,
Robert-André