summaryrefslogtreecommitdiff
path: root/src/leap/_version.py
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2013-08-09 11:47:15 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2013-08-09 11:47:15 -0300
commit0635f067d5c5b4c186abe7de4d8e692ad09a1416 (patch)
treea2d471486a5dddcaf0800913531f7a68f8f0b483 /src/leap/_version.py
parentf361f4ba74a6a34b7b524ca2a828bd888c7d135c (diff)
Change prefix name, refactor imports.
Diffstat (limited to 'src/leap/_version.py')
-rw-r--r--src/leap/_version.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/leap/_version.py b/src/leap/_version.py
index 6f7e3d05..05542975 100644
--- a/src/leap/_version.py
+++ b/src/leap/_version.py
@@ -16,6 +16,8 @@ git_full = "$Format:%H$"
import subprocess
import sys
+import re
+import os.path
def run_command(args, cwd=None, verbose=False):
@@ -38,11 +40,6 @@ def run_command(args, cwd=None, verbose=False):
return stdout
-import sys
-import re
-import os.path
-
-
def get_expanded_variables(versionfile_source):
# the code embedded in _version.py can just fetch the value of these
# variables. When used from setup.py, we don't want to import
@@ -187,7 +184,7 @@ def versions_from_parentdir(parentdir_prefix, versionfile_source,
return {"version": dirname[len(parentdir_prefix):], "full": ""}
tag_prefix = ""
-parentdir_prefix = "leap_client-"
+parentdir_prefix = "bitmask-"
versionfile_source = "src/leap/_version.py"