5 sys.path.insert(1, '@CMAKE_SOURCE_DIR@')
7 from nominatim import cli
8 from nominatim import version
10 version.GIT_COMMIT_HASH = '@GIT_HASH@'
12 exit(cli.nominatim(module_dir='@CMAKE_BINARY_DIR@/module',
13 osm2pgsql_path='@CMAKE_BINARY_DIR@/osm2pgsql/osm2pgsql',
14 phplib_dir='@CMAKE_SOURCE_DIR@/lib-php',
15 sqllib_dir='@CMAKE_SOURCE_DIR@/lib-sql',
16 data_dir='@CMAKE_SOURCE_DIR@/data',
17 config_dir='@CMAKE_SOURCE_DIR@/settings',
18 phpcgi_path='@PHPCGI_BIN@'))