Commit 0fbc83e9 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

org: fix python execution with in-tree source and Swig4

* doc/org/.dir-locals.el.in, doc/org/init.el.in: Set the
SPOT_UNINSTALLED envvar, as we already do in the test suite.
parent 457e130e
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
(concat "@abs_top_builddir@/bin" (concat "@abs_top_builddir@/bin"
path-separator path-separator
(getenv "PATH"))) (getenv "PATH")))
(setenv "SPOT_UNINSTALLED" "1")
(setenv "PYTHONPATH" (setenv "PYTHONPATH"
(concat "@abs_top_builddir@/python/.libs:" (concat "@abs_top_builddir@/python/.libs:"
"@abs_top_builddir@/python:" "@abs_top_builddir@/python:"
......
...@@ -95,6 +95,7 @@ ...@@ -95,6 +95,7 @@
(setenv "PATH" (setenv "PATH"
(concat "@abs_top_builddir@/bin" path-separator (getenv "PATH"))) (concat "@abs_top_builddir@/bin" path-separator (getenv "PATH")))
(setenv "SPOT_UNINSTALLED" "1")
(setenv "PYTHONPATH" (setenv "PYTHONPATH"
(concat "@abs_top_builddir@/python/.libs:" (concat "@abs_top_builddir@/python/.libs:"
"@abs_top_builddir@/python:" "@abs_top_builddir@/python:"
......
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