summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorRonny Pfannschmidt <opensource@ronnypfannschmidt.de>2015-08-22 15:54:40 +0200
committerRonny Pfannschmidt <opensource@ronnypfannschmidt.de>2015-08-22 15:54:40 +0200
commit8b6ca0d9123bb045ec96efafbbd3e719a5153125 (patch)
tree2ce01588bf9a806332ae1683c16711224ea94d99 /setup.py
parentc7023ed12a7fb562bc339048d8abd5dedc34165d (diff)
propperly handle borg._version using setuptools_scm
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 11982ac39..667ba4ee2 100644
--- a/setup.py
+++ b/setup.py
@@ -101,7 +101,9 @@ elif sys.platform == 'darwin':
setup(
name='borgbackup',
- use_scm_version=True,
+ use_scm_version={
+ 'write_to': 'borg/_version.py',
+ },
author='The Borg Collective (see AUTHORS file)',
author_email='borgbackup@librelist.com',
url='https://borgbackup.github.io/',