summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-08-23 12:51:51 +0200
committerKali Kaneko <kali@leap.se>2013-08-23 12:51:51 +0200
commit854f663f9286d8bf2510a73cc8ee51c9cc521602 (patch)
tree3e1fa429a1ae2a019a9039d3890bd131f256805f /setup.py
parenta7d081a7ab1c5a280cfc3bc90cda9d3e5710480f (diff)
Versioneer all the things!
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index a0cbbae..3de66cf 100644
--- a/setup.py
+++ b/setup.py
@@ -20,6 +20,12 @@ setup file for leap.mx
import os
from setuptools import setup, find_packages
+import versioneer
+versioneer.versionfile_source = 'src/leap/mx/_version.py'
+versioneer.versionfile_build = 'leap/mx/_version.py'
+versioneer.tag_prefix = '' # tags are like 1.2.0
+versioneer.parentdir_prefix = 'leap.mx-'
+
from pkg.utils.reqs import parse_requirements
trove_classifiers = [
@@ -48,8 +54,8 @@ else:
("/etc/init.d/", ["pkg/leap_mx"])]
setup(
name='leap.mx',
- version="0.3.0",
- # bump also src/leap/mx/__init__
+ version=versioneer.get_version(),
+ cmdclass=versioneer.get_cmdclass(),
url="http://github.com/leapcode/leap_mx",
license='AGPLv3+',
author='The LEAP Encryption Access Project',