- osm2pgsql_cmd = options['osm2pgsql']
- if osm2pgsql_cmd is None:
- osm2pgsql_cmd = shutil.which('osm2pgsql')
- if osm2pgsql_cmd is None:
- raise RuntimeError('osm2pgsql executable not found. Please install osm2pgsql first.')
-
- cmd = [str(osm2pgsql_cmd),