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

Include AUTHORS.txt in pip's wheels #11882

Merged
merged 1 commit into from
Mar 27, 2023
Merged

Conversation

SpecLad
Copy link
Contributor

@SpecLad SpecLad commented Mar 21, 2023

Wheels already include LICENSE.txt, which refers to AUTHORS.txt, so AUTHORS.txt should be included too.

Conveniently, both LICENSE.txt and AUTHORS.txt are included by setuptools by default, so all we need is to remove the manual license_file setting.

This also fixes a build-time warning, since license_file is deprecated in favor of license_files.

Wheels already include `LICENSE.txt`, which refers to `AUTHORS.txt`, so
`AUTHORS.txt` should be included too.

Conveniently, both `LICENSE.txt` and `AUTHORS.txt` are included by setuptools
by default, so all we need is to remove the manual `license_file` setting.

This also fixes a build-time warning, since `license_file` is deprecated
in favor of `license_files`.
@pradyunsg pradyunsg merged commit 4404877 into pypa:main Mar 27, 2023
@SpecLad SpecLad deleted the authors-in-wheels branch March 27, 2023 10:35
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants