Skip to content

setup.cfg: Replace deprecated license_file with license_files #2521

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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