]> git.openstreetmap.org Git - nominatim.git/blobdiff - cmake/tool.tmpl
use NominatimAPI in with context in CLI tool
[nominatim.git] / cmake / tool.tmpl
index fcdbe899295e4b207d72d68f779fdb2caa79e17a..4053ca35b8ec4745360df03e3d1dcaf46e3bafc2 100755 (executable)
@@ -2,10 +2,10 @@
 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@'