Skip to content

Commit ba67aff

Browse files
[setuptools] Upgrade the license handling for latest setuptools
1 parent a65c2ba commit ba67aff

File tree

2 files changed

+3
-15
lines changed

2 files changed

+3
-15
lines changed

pyproject.toml

+3-6
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" ] # Keep in sync with setup.cfg
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",
@@ -30,7 +31,6 @@ classifiers = [
3031
"Topic :: Software Development :: Testing",
3132
]
3233
dynamic = [ "version" ]
33-
3434
dependencies = [
3535
"typing-extensions>=4; python_version<'3.11'",
3636
]
@@ -39,9 +39,6 @@ urls."Discord server" = "https://discord.gg/Egy6P8AMB5"
3939
urls."Docs" = "https://pylint.readthedocs.io/projects/astroid/en/latest/"
4040
urls."Source Code" = "https://github.com/pylint-dev/astroid"
4141

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

setup.cfg

-9
This file was deleted.

0 commit comments

Comments
 (0)