A new user interface for you! Read more...

File 0001-Prefix-to-copying.patch of Package GoogleMapsPlugin

From 22244a81c5327e6eaef72fcfa13667f21d386351 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Juhan=20K=C3=B5ks?= <juhankoks@gmail.com>
Date: Sun, 26 May 2013 14:26:41 +0300
Subject: [PATCH] Prefix to copying

---
 setup.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index f54870f..d98fb6d 100644
--- a/setup.py
+++ b/setup.py
@@ -80,13 +80,15 @@ if __name__ == "__main__":
        )
   
   # Only perform this operation during installation
+  if ipath.endswith('/opt/baltrad/GoogleMapsPlugin/rave_gmap'):
+    rootprefix=ipath[:-39]
   isinstalling = 0
   for item in sys.argv:
     if item=="install":
       isinstalling = 1
   if isinstalling:
     source = ipath + '/Lib.pth'
-    dest = distutils.sysconfig.get_python_lib() + '/rave_gmap.pth'
+    dest = rootprefix+distutils.sysconfig.get_python_lib() + '/rave_gmap.pth'
     try:
       os.rename(source, dest)  # doesn't work in some environments
     except:
-- 
1.8.1.2