diff -up gjots2-2.3.7/bin/gjots2.lib gjots2-2.3.7/bin/gjots2
--- gjots2-2.3.7/bin/gjots2.lib 2007-07-28 14:11:45.000000000 +0200
+++ gjots2-2.3.7/bin/gjots2 2008-09-01 10:40:21.000000000 +0200
@@ -17,6 +17,7 @@ def traceit(frame, event, arg):
return traceit
gettext.install('gjots2', '/usr/share/locale')
+from distutils.sysconfig import get_python_lib
def ver2str(ver):
return ".".join(map(str,ver))
@@ -78,7 +79,7 @@ if __name__ == '__main__':
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 *