Skip to content

Commit

Permalink
Ensure license files are included in the distributions
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed May 20, 2024
1 parent 84b195e commit fc9c88f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ recursive-include newsfragments *
include *.py
include *.rst
include MANIFEST.in
include LICENSE
global-include LICEN[CS]E* COPYING* NOTICE* AUTHORS*
include launcher.c
include msvc-build-launcher.cmd
include mypy.ini
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
here = os.path.dirname(__file__)


package_data = dict(
setuptools=['script (dev).tmpl', 'script.tmpl', 'site-patch.py'],
)
package_data = {
"": ["LICEN[CS]E*", "COPYING*", "NOTICE*", "AUTHORS*"],
"setuptools": ['script (dev).tmpl', 'script.tmpl', 'site-patch.py'],
}

force_windows_specific_files = os.environ.get(
"SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES", "1"
Expand Down

0 comments on commit fc9c88f

Please sign in to comment.