2021-01-12 12:17:28 +03:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
import sys
|
2021-01-17 23:02:50 +03:00
|
|
|
import os
|
2021-01-12 12:17:28 +03:00
|
|
|
|
2024-06-11 23:30:04 +03:00
|
|
|
sys.path.insert(1, '@CMAKE_SOURCE_DIR@/src')
|
2021-01-12 12:17:28 +03:00
|
|
|
|
2024-06-11 23:30:04 +03:00
|
|
|
from nominatim_db import cli
|
|
|
|
from nominatim_db import version
|
2022-05-04 16:48:23 +03:00
|
|
|
|
|
|
|
version.GIT_COMMIT_HASH = '@GIT_HASH@'
|
2021-01-12 12:17:28 +03:00
|
|
|
|
2021-01-14 16:36:41 +03:00
|
|
|
exit(cli.nominatim(module_dir='@CMAKE_BINARY_DIR@/module',
|
2023-07-26 01:10:11 +03:00
|
|
|
osm2pgsql_path='@CMAKE_BINARY_DIR@/osm2pgsql/osm2pgsql'))
|