1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2024-11-14 01:57:03 +01:00

pyproject.toml: align better with PEP 621

This PEP was approved years ago and has become a standard for the
way pyproject.toml file is laid out. We need to make some changes
to the license, URLs, add classifiers, etc.

See: https://peps.python.org/pep-0621/
This commit is contained in:
Alan Orth 2024-05-23 09:44:16 +03:00
parent 94cec080d6
commit 8143a7d978
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -5,9 +5,7 @@ description="A simple, but opinionated CSV quality checking and fixing pipeline
authors = [ authors = [
{ name = "Alan Orth", email = "alan.orth@gmail.com" } { name = "Alan Orth", email = "alan.orth@gmail.com" }
] ]
license="GPL-3.0-only" license= { file = "LICENSE.txt" }
repository = "https://github.com/ilri/csv-metadata-quality"
homepage = "https://github.com/ilri/csv-metadata-quality"
dependencies = [ dependencies = [
"pandas[feather,performance]>=2.2.1", "pandas[feather,performance]>=2.2.1",
"python-stdnum>=1.19", "python-stdnum>=1.19",
@ -22,6 +20,21 @@ dependencies = [
readme = "README.md" readme = "README.md"
requires-python = ">= 3.9" requires-python = ">= 3.9"
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
]
[project.urls]
repository = "https://github.com/ilri/csv-metadata-quality"
homepage = "https://github.com/ilri/csv-metadata-quality"
[project.scripts] [project.scripts]
csv-metadata-quality = 'csv_metadata_quality.__main__:main' csv-metadata-quality = 'csv_metadata_quality.__main__:main'