7 """ Call the nominatim main function with the correct paths set.
8 Returns a function that can be called with the desired CLI arguments.
10 def _call_nominatim(*args):
11 return nominatim.cli.nominatim(module_dir='MODULE NOT AVAILABLE',
12 osm2pgsql_path='OSM2PGSQL NOT AVAILABLE',
13 phplib_dir=str(src_dir / 'lib-php'),
14 data_dir=str(src_dir / 'data'),
15 phpcgi_path='/usr/bin/php-cgi',
16 sqllib_dir=str(src_dir / 'lib-sql'),
17 config_dir=str(src_dir / 'settings'),
20 return _call_nominatim