diff options
author | Kali Kaneko <kali@leap.se> | 2016-04-25 21:27:32 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2016-04-25 21:27:32 -0400 |
commit | d66534ab35538d33e11819324108bf949e0bb0e5 (patch) | |
tree | 0cef3d01db437ceb7d052b782f52a3bef4be4636 | |
parent | 749c1d3dffa0cfa260d1d702b7cec78f4f665a07 (diff) |
fix setup, again
-rw-r--r-- | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -99,7 +99,8 @@ def get_versions(default={}, verbose=False): subst_template = self.template.format( version=VERSION_SHORT, full_revisionid=VERSION_REVISION) + self.templatefun - with open(versioneer.versionfile_source, 'w') as f: + versioneer_cfg = versioneer.get_config_from_root('.') + with open(versioneer_cfg.versionfile_source, 'w') as f: f.write(subst_template) |