Commit 6ed6fe8d authored by Paul Ganssle's avatar Paul Ganssle Committed by GitHub

Merge pull request #1564 from 0az/doc-setup-cfg-min-version

Document setup.cfg minimum version for version and project_urls
parents 7a8657ae 22bb7412
Document setup.cfg minimum version for version and project_urls
...@@ -2357,14 +2357,14 @@ Metadata ...@@ -2357,14 +2357,14 @@ Metadata
The aliases given below are supported for compatibility reasons, The aliases given below are supported for compatibility reasons,
but their use is not advised. but their use is not advised.
============================== ================= ================= =============== ============================== ================= ================= =============== =====
Key Aliases Type Minumum Version Key Aliases Type Minumum Version Notes
============================== ================= ================= =============== ============================== ================= ================= =============== =====
name str name str
version attr:, file:, str version attr:, file:, str 39.2.0 (1)
url home-page str url home-page str
download_url download-url str download_url download-url str
project_urls dict project_urls dict 38.3.0
author str author str
author_email author-email str author_email author-email str
maintainer str maintainer str
...@@ -2379,19 +2379,22 @@ platforms platform list-comma ...@@ -2379,19 +2379,22 @@ platforms platform list-comma
provides list-comma provides list-comma
requires list-comma requires list-comma
obsoletes list-comma obsoletes list-comma
============================== ================= ================= =============== ============================== ================= ================= =============== =====
.. note:: .. note::
A version loaded using the ``file:`` directive must comply with PEP 440. A version loaded using the ``file:`` directive must comply with PEP 440.
It is easy to accidentally put something other than a valid version It is easy to accidentally put something other than a valid version
string in such a file, so validation is stricter in this case. string in such a file, so validation is stricter in this case.
Notes:
1. The `version` file attribute has only been supported since 39.2.0.
Options Options
------- -------
======================= =================================== ===== ======================= =================================== =============== =====
Key Type Minimum Version Key Type Minimum Version Notes
======================= =================================== ===== ======================= =================================== =============== =====
zip_safe bool zip_safe bool
setup_requires list-semi setup_requires list-semi
install_requires list-semi install_requires list-semi
...@@ -2414,7 +2417,7 @@ exclude_package_data section ...@@ -2414,7 +2417,7 @@ exclude_package_data section
namespace_packages list-comma namespace_packages list-comma
py_modules list-comma py_modules list-comma
data_files dict 40.5.0 data_files dict 40.5.0
======================= =================================== ===== ======================= =================================== =============== =====
.. note:: .. note::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment