sys.stdout = sys.stderr
# Add apps and lib directories to PYTHONPATH
-sys.path.insert(0, abspath(join(dirname(__file__), '../../apps')))
-sys.path.insert(0, abspath(join(dirname(__file__), '../../lib')))
+sys.path.insert(0, abspath(join(dirname(__file__), '../apps')))
+sys.path.insert(0, abspath(join(dirname(__file__), '../lib')))
# Emulate manage.py path hacking.
-sys.path.insert(0, abspath(join(dirname(__file__), "../../")))
sys.path.insert(0, abspath(join(dirname(__file__), "../")))
+sys.path.insert(0, abspath(join(dirname(__file__), ".")))
# Run Django
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
sys.stdout = sys.stderr
# Add apps and lib directories to PYTHONPATH
-sys.path.insert(0, abspath(join(dirname(__file__), '../../apps')))
-sys.path.insert(0, abspath(join(dirname(__file__), '../../lib')))
+sys.path.insert(0, abspath(join(dirname(__file__), '../apps')))
+sys.path.insert(0, abspath(join(dirname(__file__), '../lib')))
# Emulate manage.py path hacking.
-sys.path.insert(0, abspath(join(dirname(__file__), "../../")))
sys.path.insert(0, abspath(join(dirname(__file__), "../")))
+sys.path.insert(0, abspath(join(dirname(__file__), ".")))
# Run Django
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'