summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorRonny Pfannschmidt <opensource@ronnypfannschmidt.de>2015-12-01 23:38:44 +0100
committerRonny Pfannschmidt <opensource@ronnypfannschmidt.de>2015-12-01 23:41:28 +0100
commitaf0095b8b33c7c99dd0d1f060a98d10e3b45ca3f (patch)
treecb92f03276a9f6880fa7b9cf391b9115edb59ae0 /README.rst
parentb4baef94e002ca599afa20373e898cf14fe91caa (diff)
downloadsetuptools-scm-af0095b8b33c7c99dd0d1f060a98d10e3b45ca3f.tar.gz
support enforcing version numbers via the env
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 6d0ebdb..578d0a2 100644
--- a/README.rst
+++ b/README.rst
@@ -155,6 +155,15 @@ It optionally accepts the keys of the ``use_scm_version`` parameter as
keyword arguments.
+Environment Variables
+---------------------
+
+:SETUPTOOLS_SCM_PRETEND_VERSION:
+ when defined and not empty,
+ its used as the primary source for the version number
+ in which case it will be a unparsed string
+
+
Extending setuptools_scm
------------------------