# HG changeset patch # User sylvain.thenault@logilab.fr # Date 1232037301 -3600 # Node ID 0e4fb0a257ab4bf20789ceef634c210bfd3f429d # Parent 7c19ba5bfbbb0e1fe3cbea55f9f9a2fd941c7d68 apycot fix diff -r 7c19ba5bfbbb -r 0e4fb0a257ab cwconfig.py --- a/cwconfig.py Thu Jan 15 15:59:35 2009 +0100 +++ b/cwconfig.py Thu Jan 15 17:35:01 2009 +0100 @@ -148,6 +148,8 @@ if os.environ.get('APYCOT_ROOT'): mode = 'test' CUBES_DIR = '%(APYCOT_ROOT)s/local/share/cubicweb/cubes/' % os.environ + # create __init__ file + file(join(CUBES_DIR, '__init__.py'), 'w').close() elif exists(join(CW_SOFTWARE_ROOT, '.hg')): mode = 'dev' CUBES_DIR = join(CW_SOFTWARE_ROOT, '../cubes')