File: 01-use_proj-data_instead_of_embedded.patch

package info (click to toggle)
python-pyproj 1.8.7-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,772 kB
  • ctags: 2,204
  • sloc: ansic: 10,928; python: 473; makefile: 5
file content (19 lines) | stat: -rw-r--r-- 536 bytes parent folder | 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):