Re: %pyproject_save_files license handlers

2023-09-27 Thread Miro Hrončok
On 19. 08. 23 23:57, Maxwell G wrote: On Sat Aug 19, 2023 at 22:13 +0200, Miro Hrončok wrote: On 19. 08. 23 19:44, Maxwell G wrote: Hi Pythonistas, %pyproject_save_files automatically handles marking license files with %license when a build backend installs them into a package's dist-info

Re: %pyproject_save_files license handlers

2023-08-24 Thread Lumír Balhar
On 8/23/23 18:34, Miro Hrončok wrote: On 23. 08. 23 13:17, Sandro wrote:> This might be out of scope, but would it also be possible to have it fail or issue a warning if %pyproject_save_files -l marks a license, but the packager also uses an explicit %license in %files. That would prevent

Re: %pyproject_save_files license handlers

2023-08-23 Thread Miro Hrončok
On 23. 08. 23 13:17, Sandro wrote:> This might be out of scope, but would it also be possible to have it fail or issue a warning if %pyproject_save_files -l marks a license, but the packager also uses an explicit %license in %files. That would prevent duplication. Unfortunately, the macro have

Re: %pyproject_save_files license handlers

2023-08-23 Thread Sandro
On 19-08-2023 22:13, Miro Hrončok wrote: On 19. 08. 23 19:44, Maxwell G wrote: Hi Pythonistas, %pyproject_save_files automatically handles marking license files with %license when a build backend installs them into a package's dist-info directory and the License-File header is specified in the

Re: %pyproject_save_files license handlers

2023-08-21 Thread Carl George
On Sat, Aug 19, 2023 at 4:58 PM Maxwell G wrote: > > On Sat Aug 19, 2023 at 22:13 +0200, Miro Hrončok wrote: > > On 19. 08. 23 19:44, Maxwell G wrote: > > > Hi Pythonistas, > > > > > > %pyproject_save_files automatically handles marking license files > > > with %license when a build backend

Re: %pyproject_save_files license handlers

2023-08-19 Thread Maxwell G
On Sat Aug 19, 2023 at 22:13 +0200, Miro Hrončok wrote: > On 19. 08. 23 19:44, Maxwell G wrote: > > Hi Pythonistas, > > > > %pyproject_save_files automatically handles marking license files > > with %license when a build backend installs them into a package's > > dist-info directory and the

Re: %pyproject_save_files license handlers

2023-08-19 Thread Miro Hrončok
On 19. 08. 23 19:44, Maxwell G wrote: Hi Pythonistas, %pyproject_save_files automatically handles marking license files with %license when a build backend installs them into a package's dist-info directory and the License-File header is specified in the METADATA file. Currently, only setuptools

%pyproject_save_files license handlers

2023-08-19 Thread Maxwell G
Hi Pythonistas, %pyproject_save_files automatically handles marking license files with %license when a build backend installs them into a package's dist-info directory and the License-File header is specified in the METADATA file. Currently, only setuptools and hatchling meet this criteria.