Package: python-pyproj / 1.8.7-1

01-use_proj-data_instead_of_embedded.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: David Paleino <dapal@debian.org>
Subject: use official data instead of embedded copy
Forwarded: not-needed

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

--- python-pyproj.orig/lib/pyproj/__init__.py
+++ python-pyproj/lib/pyproj/__init__.py
@@ -55,7 +55,7 @@ from types import TupleType, ListType, N
 import os
 #import numpy as np
 
-pyproj_datadir = os.sep.join([os.path.dirname(__file__), 'data'])
+pyproj_datadir = "/usr/share/proj/"
 set_datapath(pyproj_datadir)
 
 class Proj(_Proj):