]> git.openstreetmap.org Git - nominatim.git/blob - cmake/tool-installed.tmpl
915f1d69cb49a3167e1b767a5d5f1bb20d398028
[nominatim.git] / cmake / tool-installed.tmpl
1 #!/usr/bin/env python3
2 import sys
3 import os
4
5 sys.path.insert(1, '@NOMINATIM_LIBDIR@/lib-python')
6
7 from nominatim_db import cli
8 from nominatim_db import version
9
10 version.GIT_COMMIT_HASH = '@GIT_HASH@'
11
12 exit(cli.nominatim(module_dir='@NOMINATIM_LIBDIR@/module',
13                    osm2pgsql_path='@NOMINATIM_LIBDIR@/osm2pgsql'))