Skip to content

Commit 1983d3d

Browse files
committed
Fix license-file metadata: suppress setuptools auto-discovery
setuptools auto-adds license-file to wheel metadata when it finds a LICENSE file, which twine >=6 rejects. Setting license_files=[] prevents the auto-discovery while keeping the explicit license field.
1 parent 5f86380 commit 1983d3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
long_description_content_type="text/markdown",
1616
url="https://github.com/GeiserX/Wayback-Diff",
1717
license="GPL-3.0-only",
18+
license_files=[],
1819
packages=find_packages(),
1920
classifiers=[
2021
"Development Status :: 3 - Alpha",

0 commit comments

Comments
 (0)