Change setuptools dependency version and license

altered the setuptools minimum version from 39.2
to 61.0, also changed the license to text and created
the `license-files` on `tool.setuptools` table
for declare the file of the license
This commit is contained in:
fabiobarkoski 2023-03-15 22:54:13 -03:00
parent c7353690dc
commit a14b97f420
1 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,6 @@
[build-system]
requires = [
"setuptools>=39.2"
"setuptools>=61.0"
]
build-backend = "setuptools.build_meta"
@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"
name = "rpmlint"
version = "2.4.0"
description = "Check for common errors in RPM packages"
license = {file = "COPYING"}
license = {text = "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)"}
authors = [
{name = "Frédéric Lepied", email = "flepied@mandriva.com"}
]
@ -43,7 +43,8 @@ dependencies = [
"zstandard",
"importlib-metadata;python_version<'3.8'",
"pyenchant",
"python-magic"
"python-magic",
"packaging"
]
[project.optional-dependencies]
@ -62,6 +63,7 @@ homepage = "https://github.com/rpm-software-management/rpmlint"
download-url = "https://github.com/rpm-software-management/rpmlint"
[tool.setuptools]
license-files = ['COPYING']
platforms = ["Linux"]
packages = [
"rpmlint",