Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devbot/environ.py
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-11-26 16:20:27 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-11-26 16:20:27 (GMT)
commitbf0fa30f3ae0b22eba401c0e5f8e675704d55502 (patch)
tree07c034bd2746dd75d7374e5b92250c7f1930083d /devbot/environ.py
parente488ee4e2333a0e1814e2ef75141df06ab7226e4 (diff)
Add devbot to python path
So that we can generate documentation in sugar-docs.
Diffstat (limited to 'devbot/environ.py')
-rw-r--r--devbot/environ.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/devbot/environ.py b/devbot/environ.py
index ccdfd3f..f35779f 100644
--- a/devbot/environ.py
+++ b/devbot/environ.py
@@ -43,6 +43,9 @@ def _setup_variables():
_add_path("PYTHONPATH",
sysconfig.get_python_lib(prefix=config.prefix_dir,
plat_specific=True))
+ _add_path("PYTHONPATH",
+ os.path.dirname(config.devbot_dir))
+
_add_path("XDG_DATA_DIRS", "/usr/share")
_add_path("XDG_DATA_DIRS", config.share_dir)