From b1dfa48c30459f28cc2ee51476c84d8874260b80 Mon Sep 17 00:00:00 2001 From: "Thomas B. Brunner" Date: Thu, 29 Feb 2024 20:07:10 +0100 Subject: [PATCH] Fixes inconsistencies in pyproject.toml documentation. (#197) * Minor improvements to pyproject.toml documentation. * Fixes readme field. --------- Co-authored-by: Dustin Ingram --- pyproject.toml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f0624b7d..90b02c2c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,22 +28,22 @@ description = "A sample Python project" # Optional # the body of text which users will see when they visit PyPI. # # Often, this is the same as your README, so you can just read it in from -# that file directly (as we have already done above) +# that file directly. # # This field corresponds to the "Description" metadata field: # https://packaging.python.org/specifications/core-metadata/#description-optional readme = "README.md" # Optional # Specify which Python versions you support. In contrast to the -# 'Programming Language' classifiers above, 'pip install' will check this +# 'Programming Language' classifiers, 'pip install' will check this # and refuse to install the project if the version does not match. See # https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires -requires-python = ">=3.8" +requires-python = ">=3.8" # Optional # This is either text indicating the license for the distribution, or a file -# that contains the license +# that contains the license. # https://packaging.python.org/en/latest/specifications/core-metadata/#license -license = {file = "LICENSE.txt"} +license = {file = "LICENSE.txt"} # Optional # This field adds keywords for your project which will appear on the # project page. What does your project relate to? @@ -86,7 +86,7 @@ classifiers = [ # Optional # Specify the Python versions you support here. In particular, ensure # that you indicate you support Python 3. These classifiers are *not* - # checked by "pip install". See instead "python_requires" below. + # checked by "pip install". See instead "requires-python". "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9",