Re: Using pyproject macros when setup.py isn't in root directory

2025-07-09 Thread Scott Talbert via python-devel
On Wed, 9 Jul 2025, Miro Hrončok via python-devel wrote: On 09. 07. 25 4:31, Scott Talbert via python-devel wrote: 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

PSA: Using %pyproject_wheel and/or %pyproject_install without %pyproject_buildrequires is not supported

2025-07-09 Thread Miro Hrončok via python-devel
Hello Python packagers, as many are currently migrating from the old Python RPM macros to the new due to https://fedoraproject.org/wiki/Changes/DeprecateSetuppyMacros I'd like to reiterate: %generate_buildrequires %pyproject_buildrequires [options...] This is MANDATORY when you use %pypr

Re: Using pyproject macros when setup.py isn't in root directory

2025-07-09 Thread Miro Hrončok via python-devel
On 09. 07. 25 4:31, Scott Talbert via python-devel wrote: 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 anot

Re: Using pyproject macros when setup.py isn't in root directory

2025-07-09 Thread Michael J Gruber via python-devel
Hi Scott Scott Talbert via python-devel venit, vidit, dixit 2025-07-09 04:31:15: > 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 t