Skip to content

Commit b123cdb

Browse files
authored
setup.cfg: Replace deprecated license_file with license_files (#2521)
1 parent d0be3c6 commit b123cdb

File tree

5 files changed

+5
-3
lines changed

5 files changed

+5
-3
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ repos:
3939
- id: tox-ini-fmt
4040
args: [ "-p", "fix_lint" ]
4141
- repo: https://github.com/asottile/setup-cfg-fmt
42-
rev: v2.0.0
42+
rev: v2.2.0
4343
hooks:
4444
- id: setup-cfg-fmt
4545
args: [ --min-py3-version, "3.5", "--max-py-version", "3.10" ]

CONTRIBUTORS

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ Mauricio Villegas
8989
Mehdi Abaakouk
9090
Michael Manganiello
9191
Mickaël Schoentgen
92+
Michał Górny
9293
Mikhail Kyshtymov
9394
Miro Hrončok
9495
Monty Taylor

docs/changelog/2521.misc.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Replaced deprecated ``license_file`` key with ``license_files`` in ``setup.cfg`` -- by :user:`mgorny`.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
22
requires = [
3-
"setuptools >= 40.0.4",
3+
"setuptools >= 42.0.0",
44
"setuptools_scm >= 2.0.0",
55
"wheel >= 0.29.0",
66
]

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ author = Holger Krekel, Oliver Bestwalter, Bernát Gábor and others
88
maintainer = Bernát Gábor, Oliver Bestwalter, Anthony Sottile, Jürgen Gmach
99
maintainer_email = gaborjbernat@gmail.com
1010
license = MIT
11-
license_file = LICENSE
11+
license_files = LICENSE
1212
platforms = any
1313
classifiers =
1414
Development Status :: 5 - Production/Stable

0 commit comments

Comments
 (0)