Skip to content

Commit

Permalink
setup.cfg: list explicit license file
Browse files Browse the repository at this point in the history
This is not needed for wheels, since the default license files pattern
already finds the current name of this file. However, it is needed for
sdist in order to guarantee the file gets disted.

Currently, that file gets disted anyway... but only because MANIFEST.in
forces it to be.

So adding the license_files metadata lets us drop the info from
MANIFEST.in; however, as the project maintainer finds it easier to look
in only one file for this information, this is being left in despite its
redundancy.
  • Loading branch information
eli-schwartz committed Mar 15, 2021
1 parent d690b65 commit d88dad8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include ChangeLog
# implied by setup.cfg -> license_files, repeated for clarity
include COPYING
recursive-include genshi *.py *.c *.txt *.html
recursive-include examples *
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ long_description =
author = Edgewall Software
author_email = info@edgewall.org
license = BSD
license_files = COPYING
url = https://github.com/edgewall/genshi
classifiers =
Development Status :: 4 - Beta
Expand Down

0 comments on commit d88dad8

Please sign in to comment.