summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2022-03-16 15:32:11 +0100
committerAndreas Schneider <asn@cryptomilk.org>2022-04-01 11:20:35 +0000
commitac7d0b45fc71d1031d96e9ec0faec2ea8cf78d33 (patch)
tree661ac6279c49668f6afc4b37e6ae6d48e861875a /buildtools
parent012d81d0e28e81be3274076a5f70282e8ceac8fe (diff)
downloadsamba-ac7d0b45fc71d1031d96e9ec0faec2ea8cf78d33.tar.gz
Move LSP stuff to buildtools/devel_env.sh
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Apr 1 11:20:35 UTC 2022 on sn-devel-184
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/devel_env.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/buildtools/devel_env.sh b/buildtools/devel_env.sh
new file mode 100644
index 00000000000..9f87a4a1b36
--- /dev/null
+++ b/buildtools/devel_env.sh
@@ -0,0 +1,7 @@
+# This file can be sourced using
+#
+# source buildtools/devel_env.sh
+
+# Setup python path for lsp server
+PYTHONPATH="$(pwd)/third_party/waf:$(pwd)/python:$(pwd)/bin/python:$(pwd)/selftest:${PYTHONPATH}"
+export PYTHONPATH