]> git.openstreetmap.org Git - nominatim.git/blobdiff - cmake/tool.tmpl
also force nominatim in build dir to venv python
[nominatim.git] / cmake / tool.tmpl
index fcdbe899295e4b207d72d68f779fdb2caa79e17a..fff8231c6b5880e09cbb00fd360341a2f1bfa762 100755 (executable)
@@ -1,11 +1,11 @@
-#!/usr/bin/env python3
+#!/srv/nominatim.openstreetmap.org/venv/bin/python3
 import sys
 import os
 
-sys.path.insert(1, '@CMAKE_SOURCE_DIR@')
+sys.path.insert(1, '@CMAKE_SOURCE_DIR@/src')
 
-from nominatim import cli
-from nominatim import version
+from nominatim_db import cli
+from nominatim_db import version
 
 version.GIT_COMMIT_HASH = '@GIT_HASH@'