Commit bd689cc7 authored by Sandro Tosi's avatar Sandro Tosi

Use the datafile in the python-mpltoolkits.basemap-data package,

 if BASEMAPDATA is not set
Patch-Name: use_share_datafiles
parent adf1fe70
......@@ -47,7 +47,7 @@ if 'BASEMAPDATA' in os.environ:
if not os.path.isdir(basemap_datadir):
raise RuntimeError('Path in environment BASEMAPDATA not a directory')
basemap_datadir = os.sep.join([os.path.dirname(__file__), 'data'])
basemap_datadir = '/usr/share/basemap/data'
__version__ = '1.1.0'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment