aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2018-05-15 13:22:32 -0400
committerGitHub <noreply@github.com>2018-05-15 13:22:32 -0400
commite0fd60cf6d91805c4bb930de774c79d34fc5a84e (patch)
treeb30d21eccac054072b1063ec00efdd440512271a /docs
parent5668d1513a9d793e03a3df8db470314724656cc4 (diff)
parenta960ee1c3f1d1d1067ec1e3c88dc345060bd33a4 (diff)
downloadexternal_python_setuptools-e0fd60cf6d91805c4bb930de774c79d34fc5a84e.tar.gz
external_python_setuptools-e0fd60cf6d91805c4bb930de774c79d34fc5a84e.tar.bz2
external_python_setuptools-e0fd60cf6d91805c4bb930de774c79d34fc5a84e.zip
Merge pull request #1359 from jmbowman/jmbowman/version_from_file
Support loading version from a file
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 76830e41..f7b9351b 100644
--- a/docs/setuptools.txt
+++ b/docs/setuptools.txt
@@ -2424,7 +2424,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
@@ -2444,6 +2444,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
-------