File: 01-use_proj-data_instead_of_embedded.patch

package info (click to toggle)
python-pyproj 1.9.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,208 kB
  • ctags: 3,698
  • sloc: ansic: 16,226; python: 800; makefile: 27; sh: 1
file content (12 lines) | stat: -rw-r--r-- 390 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
From: David Paleino <dapal@debian.org>
Subject: use official data instead of embedded copy
Forwarded: not-needed

--- a/lib/pyproj/datadir.py
+++ b/lib/pyproj/datadir.py
@@ -3,4 +3,4 @@ import os
 if 'PROJ_DIR' in os.environ:
     pyproj_datadir = os.environ['PROJ_DIR']
 else:
-    pyproj_datadir = os.sep.join([os.path.dirname(__file__), 'data'])
+    pyproj_datadir = "/usr/share/proj/"