summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 960cea1..58f2c1c 100644
--- a/setup.py
+++ b/setup.py
@@ -98,8 +98,9 @@ def get_versions(default={}, verbose=False):
return
subst_template = self.template.format(
version=VERSION_SHORT,
- version_full=VERSION_REVISION) + self.templatefun
- with open(versioneer.versionfile_source, 'w') as f:
+ full_revisionid=VERSION_REVISION) + self.templatefun
+ versioneer_cfg = versioneer.get_config_from_root('.')
+ with open(versioneer_cfg.versionfile_source, 'w') as f:
f.write(subst_template)