diff --git a/prestans/bin/pride.py b/prestans/bin/pride.py
index <HASH>..<HASH> 100755
--- a/prestans/bin/pride.py
+++ b/prestans/bin/pride.py
@@ -65,7 +65,8 @@ def main():
 
 if __name__ == "__main__":
 
-    prestans_path = os.path.join("..", "..")
+    directory = os.path.dirname(__file__)
+    prestans_path = os.path.join(directory, "..", "..")
 
     #:
     #: While in development attempt to import prestans from top dir
added relative import of prestans devel package