diff options
author | kali <kali@leap.se> | 2012-09-08 01:53:14 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-09-08 01:53:14 +0900 |
commit | 77f4686d43443d08f3b1bb1bb364d24dd127c8ce (patch) | |
tree | 49983966368de34adb553fffed5d6dcd00b31baa | |
parent | 3fa754c39bcdea355a4ec6b0ddfaeead2040a86a (diff) |
workaround for broken git version if no tag exists
-rwxr-xr-x | setup.py | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -33,10 +33,16 @@ trove_classifiers = [ "Topic :: Utilities" ] +try: + version = version.get_git_version() +except ValueError: + # workaround since that needs a tag. + version = "0.1.0" + setup( name='leap-client', package_dir={"": "src"}, - version=version.get_git_version(), + version=version, description="the internet encryption toolkit", long_description=( "Desktop Client for the LEAP Platform." |