Refactor setup_base.py to use new versioning method
@@ -36,8 +36,9 @@ def place_manifest(manifest_file):
def get_version():
version = None
try:
- import mycroft.__version__
- version = mycroft.__version__.version
+ import mycroft.version
+ version = mycroft.version.VersionManager.get()
+ logger.debug(version)
except Exception as e:
try:
version = "dev-" + subprocess.check_output(
