5 sys.path.insert(1, '@NOMINATIM_LIBDIR@/lib-python')
7 os.environ['NOMINATIM_NOMINATIM_TOOL'] = os.path.abspath(__file__)
9 from nominatim import cli
11 exit(cli.nominatim(module_dir='@NOMINATIM_LIBDIR@/module',
12 osm2pgsql_path='@NOMINATIM_LIBDIR@/osm2pgsql',
13 phplib_dir='@NOMINATIM_LIBDIR@/lib-php',
14 sqllib_dir='@NOMINATIM_LIBDIR@/lib-sql',
15 data_dir='@NOMINATIM_DATADIR@',
16 config_dir='@NOMINATIM_CONFIGDIR@',
17 phpcgi_path='@PHPCGI_BIN@'))