File: 01-use_proj-data_instead_of_embedded.patch

package info (click to toggle)
python-pyproj 1.9.6-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,520 kB
  • sloc: ansic: 23,653; python: 1,089; makefile: 31; sh: 19
file content (12 lines) | stat: -rw-r--r-- 396 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
Description: Use packaged data instead of embedded copy
Author: David Paleino <dapal@debian.org>
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/"