diff --git a/confrest.py b/confrest.py
index 4931609ddb255c7a94c99d1ccfefbba3cb7bbf1c_Y29uZnJlc3QucHk=..6b4aeae72c027fceea82ad16d9dce682cf7e1fc2_Y29uZnJlc3QucHk= 100644
--- a/confrest.py
+++ b/confrest.py
@@ -14,6 +14,7 @@
             " ", id="menubar")
 
 class Project(Project):
+    mydir = py.magic.autopath().dirpath()
     title = "PyPy EU Project"
     stylesheet = 'http://codespeak.net/pypy/dist/pypy/doc/style.css'
     encoding = 'latin1'