--- gjots2-2.3.4/bin/gjots2.lib 2005-12-24 09:02:42.000000000 +0100
+++ gjots2-2.3.4/bin/gjots2 2006-03-28 16:16:13.000000000 +0200
@@ -3,6 +3,7 @@
import sys, os, getopt
import gettext
gettext.install('gjots2', '/usr/share/locale')
+from distutils.sysconfig import get_python_lib
def ver2str(ver):
return ".".join(map(str,ver))
@@ -63,7 +64,7 @@
else:
# Assumption: we're running from $prefix/bin
prefix, bin = os.path.split(dirName)
- sys.path = [ prefix + '/lib/gjots2' ] + sys.path
+ sys.path = [ get_python_lib() + '/gjots2' ] + sys.path
from gui import *
from version import *