Package: thuban / 1.2.2-14

setup.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Use /usr instead of /usr/local.
Author: Francesco Paolo Lovergine <frankie@debian.org>
Last-Update: 2011-11-03

--- a/setup.py
+++ b/setup.py
@@ -47,7 +47,7 @@ if os.name == "posix":
     # Unix like system.
    
     # Directories where Proj4 is installed
-    proj4_prefix = "/usr/local/"
+    proj4_prefix = "/usr/"
     proj4_incdir =  os.path.join(proj4_prefix, "include")
     proj4_libdir =  os.path.join(proj4_prefix, "lib")
     proj4_lib = "proj"
@@ -1195,7 +1195,7 @@ setup(name = "Thuban",
                   # same directory.
                   "install_lib": "$base/lib/thuban",
                   "install_scripts": "$base/lib/thuban",
-                  "install_data": "$base/lib/thuban",
+                  "install_data": "$prefix/share/thuban",
                   # Don't print warning messages about the lib dir not
                   # being on Python's path. The libraries are Thuban
                   # specific and are installed just for Thuban. They'll