From a960ee1c3f1d1d1067ec1e3c88dc345060bd33a4 Mon Sep 17 00:00:00 2001 From: Jeremy Bowman Date: Mon, 14 May 2018 17:53:42 -0400 Subject: Support loading version from a file --- docs/setuptools.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs') 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 ------- -- cgit v1.2.3