Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove license and license-files from dynamic in setuptools plugin. #27

Merged
merged 3 commits into from
Mar 9, 2022

Conversation

abravalheri
Copy link
Owner

Place license-file in tool.setuptools instead of dynamic

Now that we clarified that PEP 621 does not specify anything about the (non-standard) core metadata field License-file and that it is not necessary to add license to dynamic to be able to automatically fill it, there is no motivation for keeping this field in tool.setuptools.dynamic instead of tool.setuptools (directly).

See:

As such there is also little motivation to allow license and license-files in dynamic...
There is nothing else setuptools can do outside of what the standard already allows.
Even with PEP 639 (the draft currently establishes that the backend can backfill license-files without needing an explicit dynamic if it is not provided).

Now that we clarified that PEP 621 does not specify anything about the
(non-standard) core metadata field `License-file` and that it is not
necessary to add `license` to `dynamic` to be able to automatically fill
it, there is no motivation for keeping this field in
`tool.setuptools.dynamic` instead of `tool.setuptools` (directly).

As such there is also little motivation to allow `license` in `dynamic`...
There is nothing else setuptools can do outside of what the standard already
allows.

Note that this is unlikely to change with PEP 639 (the draft currently
establishes that the backend can backfill `license-files` without
needing an explicit `dynamic` if it is not provided).
@abravalheri abravalheri merged commit 6e2236c into main Mar 9, 2022
@abravalheri abravalheri deleted the remove-license-from-dynamic branch March 9, 2022 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant