Is there any way to use the pyproject macros when setup.py isn't in the
root directory?
I maintain a couple of packages where this is the case - one where there
are actually two PyPI packages built from the same source package, and
another where the Python package is in a subdirectory because it's
bindings for a C library that is also built.
When I try, I get this error during build:
+ echo 'ERROR: Neither pyproject.toml nor setup.py found, consider using
%pyproject_buildrequires -N <requirements-file> if this is not a Python
package.'
ERROR: Neither pyproject.toml nor setup.py found, consider using
%pyproject_buildrequires -N <requirements-file> if this is not a Python
package.
There aren't requirements files in the upstream packages. But I guess I
could make a downstream one?
Thanks,
Scott