]> git.openstreetmap.org Git - nominatim.git/blob - cmake/tool.tmpl
release 4.5.0.post2
[nominatim.git] / cmake / tool.tmpl
1 #!/srv/nominatim.openstreetmap.org/venv/bin/python3
2 import sys
3 import os
4
5 sys.path.insert(1, '@CMAKE_SOURCE_DIR@/src')
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='@CMAKE_BINARY_DIR@/module',
13                    osm2pgsql_path='@CMAKE_BINARY_DIR@/osm2pgsql/osm2pgsql'))