diff -ru labyrinth-0.4.1.orig/src/labyrinth.py labyrinth-0.4.1/src/labyrinth.py --- labyrinth-0.4.1.orig/src/labyrinth.py 2008-03-28 13:33:37.000000000 -0300 +++ labyrinth-0.4.1/src/labyrinth.py 2010-07-20 15:16:51.857575333 -0300 @@ -31,13 +31,14 @@ if os.name != 'nt': pygtk.require('2.0') def _check (path): - return exists(path) and isdir(path) and isfile(path+"/AUTHORS") + return isdir(path) and isfile(join(path, "/AUTHORS")) name = join(dirname(__file__), '..') if _check(name): sys.path.insert(0, abspath(name)) else: - sys.path.insert(0, abspath("@PYTHONDIR@")) + import labyrinth + sys.path.insert(0, dirname(labyrinth.__file__)) import gtk