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

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

2025-07-10 Thread Miro Hrončok via python-devel
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 wheels are installed in %pyproject_install, we

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

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

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