Skip to content

Commit 9faee90

Browse files
committedMar 19, 2025·
[setuptools] Upgrade the license handling for latest setuptools
1 parent 8cd8960 commit 9faee90

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed
 

‎pyproject.toml

+3-5
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ name = "astroid"
88
description = "An abstract syntax tree for Python with inference support."
99
readme = "README.rst"
1010
keywords = [ "abstract syntax tree", "python", "static code analysis" ]
11-
license = { text = "LGPL-2.1-or-later" }
11+
license = "LGPL-2.1-or-later"
12+
license-files = [ "LICENSE", "CONTRIBUTORS.txt" ]
13+
1214
requires-python = ">=3.9.0"
1315
classifiers = [
1416
"Development Status :: 6 - Mature",
1517
"Environment :: Console",
1618
"Intended Audience :: Developers",
17-
"License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)",
1819
"Operating System :: OS Independent",
1920
"Programming Language :: Python",
2021
"Programming Language :: Python :: 3 :: Only",
@@ -39,9 +40,6 @@ urls."Discord server" = "https://discord.gg/Egy6P8AMB5"
3940
urls."Docs" = "https://pylint.readthedocs.io/projects/astroid/en/latest/"
4041
urls."Source Code" = "https://github.com/pylint-dev/astroid"
4142

42-
[tool.setuptools]
43-
license-files = [ "LICENSE", "CONTRIBUTORS.txt" ] # Keep in sync with setup.cfg
44-
4543
[tool.setuptools.package-dir]
4644
"" = "."
4745

‎setup.cfg

-9
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.