]> git.openstreetmap.org Git - nominatim.git/blobdiff - cmake/tool-installed.tmpl
force nominatim to be run with venv python
[nominatim.git] / cmake / tool-installed.tmpl
index a6384f148ef2e5369692f4d9ec89a9de570ac98c..47c17f416b29a5d508d238569591c9b44edb21a9 100644 (file)
@@ -1,11 +1,11 @@
-#!/usr/bin/env python3
+#!/srv/nominatim.openstreetmap.org/venv/bin/python3
 import sys
 import os
 
 sys.path.insert(1, '@NOMINATIM_LIBDIR@/lib-python')
 
-from nominatim import cli
-from nominatim import version
+from nominatim_db import cli
+from nominatim_db import version
 
 version.GIT_COMMIT_HASH = '@GIT_HASH@'