path cleanup in xoslib tools and readme
diff --git a/planetstack/core/xoslib/README b/planetstack/core/xoslib/README
index a5af121..6d69629 100644
--- a/planetstack/core/xoslib/README
+++ b/planetstack/core/xoslib/README
@@ -1,7 +1,7 @@
Add to the following in settings.py
STATICFILES_DIRS=
- "/opt/planetstack/core/xoslib/static/",
+ XOS_DIR + "/core/xoslib/static/",
TEMPLATE_DIRS=
- "/opt/planetstack/xoslib/templates",
\ No newline at end of file
+ XOS_DIR + "/xoslib/templates",
\ No newline at end of file
diff --git a/planetstack/core/xoslib/tools/make_defaults.py b/planetstack/core/xoslib/tools/make_defaults.py
index ad5377c..04fccc0 100644
--- a/planetstack/core/xoslib/tools/make_defaults.py
+++ b/planetstack/core/xoslib/tools/make_defaults.py
@@ -1,7 +1,8 @@
import os
import sys
-os.chdir("/opt/planetstack")
-sys.path.append("/opt/planetstack")
+XOS_DIR="/opt/xos"
+os.chdir(XOS_DIR)
+sys.path.append(XOS_DIR)
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "planetstack.settings")
import django
import core.models
diff --git a/planetstack/core/xoslib/tools/make_validators.py b/planetstack/core/xoslib/tools/make_validators.py
index 0fca367..f627457 100644
--- a/planetstack/core/xoslib/tools/make_validators.py
+++ b/planetstack/core/xoslib/tools/make_validators.py
@@ -1,7 +1,8 @@
import os
import sys
-os.chdir("/opt/planetstack")
-sys.path.append("/opt/planetstack")
+XOS_DIR="/opt/xos"
+os.chdir(XOS_DIR)
+sys.path.append(XOS_DIR)
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "planetstack.settings")
import django
import core.models