summaryrefslogtreecommitdiffstats
path: root/rtemstoolkit/version.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-02-19 11:26:51 +1100
committerChris Johns <chrisj@rtems.org>2016-02-19 11:26:51 +1100
commitde1beea245bd18cb9eadfb7dbaea6572269a97cd (patch)
treed1e616e2d72a17e4d4b85f14df5920788d6b74f2 /rtemstoolkit/version.py
parentUpdate the version of waf. (diff)
downloadrtems-tools-de1beea245bd18cb9eadfb7dbaea6572269a97cd.tar.bz2
Disable installing PYO and PYC. Fix install paths.
Installing PYO and PYC does not work so disable this. Move the Python check to the top level and have a single place. Fix the install paths a revert the 'from . import' changes. This is resolved by installing into the correct paths.
Diffstat (limited to 'rtemstoolkit/version.py')
-rw-r--r--rtemstoolkit/version.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/rtemstoolkit/version.py b/rtemstoolkit/version.py
index 139078c..f8b8a7b 100644
--- a/rtemstoolkit/version.py
+++ b/rtemstoolkit/version.py
@@ -35,8 +35,8 @@
import sys
-from . import error
-from . import path
+import error
+import path
#
# Default to an internal string.
@@ -67,6 +67,7 @@ def _load_released_version():
return _released
def _load_git_version():
+ import git
global _git
global _version_str
repo = git.repo(_at())