Blob Blame History Raw
From aa43178c0c5cc3353a5dfad8fa4a80c8b5cfbeba Mon Sep 17 00:00:00 2001
From: Pierre-Yves Chibon <pingou@pingoured.fr>
Date: Wed, 14 Jan 2015 16:34:54 +0100
Subject: [PATCH] Fix the pyproj_datadir to point to the right location

---
 lib/mpl_toolkits/basemap/pyproj.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/mpl_toolkits/basemap/pyproj.py b/lib/mpl_toolkits/basemap/pyproj.py
index 097f099..57aa69a 100644
--- a/lib/mpl_toolkits/basemap/pyproj.py
+++ b/lib/mpl_toolkits/basemap/pyproj.py
@@ -235,7 +235,7 @@ pj_ellps={
 "sphere":       {'a':6370997.0,'b':6370997.0,'description':"Normal Sphere"},
 }
 
-pyproj_datadir = os.sep.join([os.path.dirname(__file__), 'data'])
+pyproj_datadir = "/usr/share/basemap/"
 if not os.path.isdir(pyproj_datadir):
     msg="proj data directory not found. Expecting it at: %s"%pyproj_datadir
     raise IOError(msg)
-- 
2.1.0