8000 Glob all license files in the LICENSE directory · matplotlib/matplotlib@42bae1f · GitHub
[go: up one dir, main page]

Skip to content

Commit 42bae1f

Browse files
committed
Glob all license files in the LICENSE directory
1 parent c3f3233 commit 42bae1f

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

setup.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -249,17 +249,7 @@ def build_extensions(self):
249249
long_description=Path("README.rst").read_text(encoding="utf-8"),
250250
long_description_content_type="text/x-rst",
251251
license="PSF",
252-
license_files=[
253-
"LICENSE/LICENSE",
254-
"LICENSE/LICENSE_AMSFONTS",
255-
"LICENSE/LICENSE_BAKOMA",
256-
"LICENSE/LICENSE_CARLOGO.txt",
257-
"LICENSE/LICENSE_COLORBREWER",
258-
"LICENSE/LICENSE_QT4_EDITOR",
259-
"LICENSE/LICENSE_STIX",
260-
"LICENSE/LICENSE_TORICK",
261-
"LICENSE/Solarized.txt",
262-
],
252+
license_files=list(map(lambda p: str(p), Path("LICENSE").glob('*'))),
263253
platforms="any",
264254
classifiers=[
265255
'Development Status :: 5 - Production/Stable',

0 commit comments

Comments
 (0)
0