2012-11-20 03:47:19 -06:00
|
|
|
#!/usr/bin/env python
|
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
2013-01-08 12:52:05 -06:00
|
|
|
# SeSQL look for "sesql_config" in the sys.path...
|
|
|
|
# FIXME: PR to SeSQL to be able to define the import path
|
|
|
|
# with an env var
|
|
|
|
sys.path.insert(0, os.path.abspath('umap'))
|
|
|
|
|
2012-11-20 03:47:19 -06:00
|
|
|
if __name__ == "__main__":
|
|
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE",
|
2013-01-02 08:49:20 -06:00
|
|
|
"umap.settings.local")
|
2012-11-20 03:47:19 -06:00
|
|
|
|
|
|
|
from django.core.management import execute_from_command_line
|
|
|
|
|
|
|
|
execute_from_command_line(sys.argv)
|