Skip to content

Commit

Permalink
Include AUTHORS.txt in pip's wheels
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
SpecLad committed Mar 21, 2023
1 parent 711b5ac commit 5d4c325
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,3 @@ exclude_lines =
pragma: no cover
# This excludes typing-specific code, which will be validated by mypy anyway.
if TYPE_CHECKING

[metadata]
license_file = LICENSE.txt

0 comments on commit 5d4c325

Please sign in to comment.