aboutsummaryrefslogtreecommitdiff
path: root/scripts/conf.py
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-01-14 12:49:48 +0100
committerKarel Kočí <cynerd@email.cz>2015-01-14 12:49:48 +0100
commit9f07dd89b7cd2de6ce341afd1aed3e6bd0122a27 (patch)
treefb6db8fcf129340dfacc2dc1e496e2724112adaa /scripts/conf.py
parent77cb1caa463602d63712d786cf367dc14c462453 (diff)
downloadlinux-conf-perf-9f07dd89b7cd2de6ce341afd1aed3e6bd0122a27.tar.gz
linux-conf-perf-9f07dd89b7cd2de6ce341afd1aed3e6bd0122a27.tar.bz2
linux-conf-perf-9f07dd89b7cd2de6ce341afd1aed3e6bd0122a27.zip
Python scripts added
conf.py are files for configuration, all configuration is in global conf.py and others are just sourcing that kconfig_parser.py is executing kconfig_parser sat_solution.py is partly implemented, in state of this commit is not working properly.
Diffstat (limited to 'scripts/conf.py')
-rw-r--r--scripts/conf.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/conf.py b/scripts/conf.py
new file mode 100644
index 0000000..fc716b1
--- /dev/null
+++ b/scripts/conf.py
@@ -0,0 +1,8 @@
+#!/bin/python3
+# This file is only loading ../conf.py
+import os
+import importlib.machinery
+
+confpy = os.path.dirname(__file__) + "/../conf.py"
+
+conf = importlib.machinery.SourceFileLoader("module.name", confpy).load_module()