aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/setuptools.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/setuptools.txt b/docs/setuptools.txt
index 5ee967ab..6b3bbded 100644
--- a/docs/setuptools.txt
+++ b/docs/setuptools.txt
@@ -2421,7 +2421,7 @@ Metadata
Key Aliases Type
============================== ================= =====
name str
-version attr:, str
+version attr:, file:, str
url home-page str
download_url download-url str
project_urls dict
@@ -2441,6 +2441,10 @@ requires list-comma
obsoletes list-comma
============================== ================= =====
+.. note::
+ A version loaded using the ``file:`` directive must comply with PEP 440.
+ It is easy to accidentally put something other than a valid version
+ string in such a file, so validation is stricter in this case.
Options
-------