Commit 2c67c687 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

org: adjust PYTHONPATH after recent python changes

Fixes #137.

* doc/org/.dir-locals.el.in, doc/org/init.el.in: Search python modules
in python/spot as well.
parent aebe6593
...@@ -10,7 +10,12 @@ ...@@ -10,7 +10,12 @@
path-separator path-separator
(getenv "PATH"))) (getenv "PATH")))
(setenv "PYTHONPATH" (setenv "PYTHONPATH"
(concat "@abs_top_builddir@/python/.libs:@abs_top_builddir@/python:@abs_top_srcdir@/python:" (concat "@abs_top_builddir@/python/.libs:"
"@abs_top_builddir@/python:"
"@abs_top_srcdir@/python:"
"@abs_top_builddir@/python/spot/.libs:"
"@abs_top_builddir@/python/spot:"
"@abs_top_srcdir@/python/spot:"
(getenv "PYTHONPATH"))) (getenv "PYTHONPATH")))
(setenv "DYLD_LIBRARY_PATH" (setenv "DYLD_LIBRARY_PATH"
(concat "@abs_top_builddir@/python/.libs:@abs_top_builddir@/spot/.libs:@abs_top_builddir@/buddy/spot/.libs:" (concat "@abs_top_builddir@/python/.libs:@abs_top_builddir@/spot/.libs:@abs_top_builddir@/buddy/spot/.libs:"
......
...@@ -33,7 +33,12 @@ ...@@ -33,7 +33,12 @@
(setenv "PATH" (setenv "PATH"
(concat "@abs_top_builddir@/bin" path-separator (getenv "PATH"))) (concat "@abs_top_builddir@/bin" path-separator (getenv "PATH")))
(setenv "PYTHONPATH" (setenv "PYTHONPATH"
(concat "@abs_top_builddir@/python/.libs:@abs_top_builddir@/python:@abs_top_srcdir@/python:" (concat "@abs_top_builddir@/python/.libs:"
"@abs_top_builddir@/python:"
"@abs_top_srcdir@/python:"
"@abs_top_builddir@/python/spot/.libs:"
"@abs_top_builddir@/python/spot:"
"@abs_top_srcdir@/python/spot:"
(getenv "PYTHONPATH"))) (getenv "PYTHONPATH")))
(setenv "DYLD_LIBRARY_PATH" (setenv "DYLD_LIBRARY_PATH"
(concat "@abs_top_builddir@/python/.libs:@abs_top_builddir@/spot/.libs:@abs_top_builddir@/buddy/spot/.libs:" (concat "@abs_top_builddir@/python/.libs:@abs_top_builddir@/spot/.libs:@abs_top_builddir@/buddy/spot/.libs:"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment