/usr/lib/python3/dist-packages/mapnik/mapnik_settings.py is in python3-mapnik 1:0.0~20151125-92e79d2-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | import os
mapnik_data_dir = os.path.dirname(os.path.realpath(__file__))
env = {}
icu_path = os.path.join(mapnik_data_dir, 'plugins', 'icu')
if os.path.isdir(icu_path):
env['ICU_DATA'] = icu_path
gdal_path = os.path.join(mapnik_data_dir, 'plugins', 'gdal')
if os.path.isdir(gdal_path):
env['GDAL_DATA'] = gdal_path
proj_path = os.path.join(mapnik_data_dir, 'plugins', 'proj')
if os.path.isdir(proj_path):
env['PROJ_LIB'] = proj_path
|