5 sys.path.insert(1, '@CMAKE_SOURCE_DIR@')
7 os.environ['NOMINATIM_NOMINATIM_TOOL'] = os.path.abspath(__file__)
9 from nominatim import cli
10 from nominatim import version
12 version.GIT_COMMIT_HASH = '@GIT_HASH@'
14 exit(cli.nominatim(module_dir='@CMAKE_BINARY_DIR@/module',
15 osm2pgsql_path='@CMAKE_BINARY_DIR@/osm2pgsql/osm2pgsql',
16 phplib_dir='@CMAKE_SOURCE_DIR@/lib-php',
17 sqllib_dir='@CMAKE_SOURCE_DIR@/lib-sql',
18 data_dir='@CMAKE_SOURCE_DIR@/data',
19 config_dir='@CMAKE_SOURCE_DIR@/settings',
20 phpcgi_path='@PHPCGI_BIN@'))