Skip to content

Commit

Permalink
setup.cfg: Replace deprecated license_file with license_files (#2521)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorny committed Oct 26, 2022
1 parent d0be3c6 commit b123cdb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Expand Up @@ -39,7 +39,7 @@ repos:
- id: tox-ini-fmt
args: [ "-p", "fix_lint" ]
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.0.0
rev: v2.2.0
hooks:
- id: setup-cfg-fmt
args: [ --min-py3-version, "3.5", "--max-py-version", "3.10" ]
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS
Expand Up @@ -89,6 +89,7 @@ Mauricio Villegas
Mehdi Abaakouk
Michael Manganiello
Mickaël Schoentgen
Michał Górny
Mikhail Kyshtymov
Miro Hrončok
Monty Taylor
Expand Down
1 change: 1 addition & 0 deletions docs/changelog/2521.misc.rst
@@ -0,0 +1 @@
Replaced deprecated ``license_file`` key with ``license_files`` in ``setup.cfg`` -- by :user:`mgorny`.
2 changes: 1 addition & 1 deletion pyproject.toml
@@ -1,6 +1,6 @@
[build-system]
requires = [
"setuptools >= 40.0.4",
"setuptools >= 42.0.0",
"setuptools_scm >= 2.0.0",
"wheel >= 0.29.0",
]
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Expand Up @@ -8,7 +8,7 @@ author = Holger Krekel, Oliver Bestwalter, Bernát Gábor and others
maintainer = Bernát Gábor, Oliver Bestwalter, Anthony Sottile, Jürgen Gmach
maintainer_email = gaborjbernat@gmail.com
license = MIT
license_file = LICENSE
license_files = LICENSE
platforms = any
classifiers =
Development Status :: 5 - Production/Stable
Expand Down

0 comments on commit b123cdb

Please sign in to comment.