-
Notifications
You must be signed in to change notification settings - Fork 71
pyproject.toml: PEP 639 compatibility #209
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
base: main
Are you sure you want to change the base?
Conversation
|
You may want to add |
|
The default value of |
|
Two 👍, just waiting on a review from someone with merge privileges... |
Signed-off-by: Adam J. Stewart <[email protected]>
Co-authored-by: Dimitri Papadopoulos Orfanos <[email protected]>
Co-authored-by: Dimitri Papadopoulos Orfanos <[email protected]>
4df8450 to
d4ca023
Compare
| readme = "README.md" | ||
| license = { file = "LICENSE" } | ||
| license = "MIT-0 AND MIT" | ||
| license-files = ["LICENSE", "src/c/libffi_x86_x64/LICENSE"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This adds the license for libffi_x86_64. Is this part of the wheel for all platform or just x86_64?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At the moment, license-files cannot be configured dynamically, it must be the same for all platforms: https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata. Whether or not the license for libffi should be included or excluded is another question.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are also from-source builds that will not bundle libffi at all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's distributed with the source dist, isn't it? I would therefore argue the package should reference that licence.
Reverts #199
Fixes #200
PEP 621 is superseded by PEP 639. The previous syntax is deprecated and will be removed in a future version of setuptools.
@Bluefissure @EpicWink @mattip