# HG changeset patch # User Administrator <> # Date 1260473740 28800 # Node ID 871ff503c23e1fafcf928a4ba33152b568296c5f # Parent 72fd2d4cc782b008f2e19663fb57195361438dfc update sys.path at cubicweb startup diff -r 72fd2d4cc782 -r 871ff503c23e bin/cubicweb-ctl.bat --- a/bin/cubicweb-ctl.bat Thu Dec 10 09:43:51 2009 +0100 +++ b/bin/cubicweb-ctl.bat Thu Dec 10 11:35:40 2009 -0800 @@ -7,8 +7,10 @@ """ # -------------------- Python section -------------------- +import sys +from os.path import join, dirname +sys.path.insert(0, join(dirname(__file__), '..', '..')) from cubicweb.cwctl import run -import sys run(sys.argv[1:]) DosExitLabel = """