Skip to content

Commit 81aae15

Browse files
committed
fix: scanny#748 setup's license should be short string
scanny#748
1 parent 9760472 commit 81aae15

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ def ascii_bytes_from(path, *paths):
2323
init_py = ascii_bytes_from(thisdir, "pptx", "__init__.py")
2424
readme = ascii_bytes_from(thisdir, "README.rst")
2525
history = ascii_bytes_from(thisdir, "HISTORY.rst")
26-
license = ascii_bytes_from(thisdir, "LICENSE")
2726

2827
# Read the version from pptx.__version__ without importing the package
2928
# (and thus attempting to import packages it depends on that may not be
@@ -38,7 +37,7 @@ def ascii_bytes_from(path, *paths):
3837
AUTHOR = "Steve Canny"
3938
AUTHOR_EMAIL = "python-pptx@googlegroups.com"
4039
URL = "https://github.com/scanny/python-pptx"
41-
LICENSE = license
40+
LICENSE = "MIT"
4241
PACKAGES = find_packages(exclude=["tests", "tests.*"])
4342
PACKAGE_DATA = {"pptx": ["templates/*"]}
4443

0 commit comments

Comments
 (0)