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

2025-07-08 Thread Scott Talbert via python-devel
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

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 act

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

2025-07-10 Thread Scott Talbert via python-devel
On Thu, 10 Jul 2025, Miro Hrončok wrote: On 10. 07. 25 2:45, Scott Talbert wrote: The one thing - %pyproject_save_files can't work in the case of building multiple wheels in the same package, right? Correct. As ow now, it has no API to say "save files from package X", so when multiple whee