From 8143a7d978ec16f0efd1d9d5f9c8b63dec837136 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Thu, 23 May 2024 09:44:16 +0300 Subject: [PATCH] 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/ --- pyproject.toml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c91549d..120cc93 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,9 +5,7 @@ description="A simple, but opinionated CSV quality checking and fixing pipeline authors = [ { name = "Alan Orth", email = "alan.orth@gmail.com" } ] -license="GPL-3.0-only" -repository = "https://github.com/ilri/csv-metadata-quality" -homepage = "https://github.com/ilri/csv-metadata-quality" +license= { file = "LICENSE.txt" } dependencies = [ "pandas[feather,performance]>=2.2.1", "python-stdnum>=1.19", @@ -22,6 +20,21 @@ dependencies = [ readme = "README.md" 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] csv-metadata-quality = 'csv_metadata_quality.__main__:main'