Skip to content

Commit c5a071a

Browse files
carlwgeorgejborean93
authored andcommitted
Include both license files
The license keyword is meant for specifying the license string, not the file name of the license. The correct keyword to use for this is license_files. Currently the LICENSE.txt file is being included because license_files defaults to "LICEN[CS]E*", but K5TEST-LICENSE.txt is missing. This change switches to the correct keyword, and additionally includes the K5TEST-LICENSE.txt file. Signed-off-by: Carl George <carl@george.computer>
1 parent c4a945e commit c5a071a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
description="A library for testing Python applications in "
1111
"self-contained Kerberos 5 environments",
1212
long_description=open("README.md").read(),
13-
license="LICENSE.txt",
13+
license_files=[
14+
"LICENSE.txt",
15+
"K5TEST-LICENSE.txt",
16+
],
1417
url="https://github.com/pythongssapi/k5test",
1518
python_requires=">=3.6",
1619
classifiers=[

0 commit comments

Comments
 (0)