Main Page
Namespaces
Classes
Files
File List
src
webui
mod
webui
mod/webui/nstart.py
Go to the documentation of this file.
1
# this starts up the python enviroment
2
#
3
# The root dir should point to the top of the python tree
4
5
import
os, sys
6
7
ROOT_DIR =
"../../.."
8
9
sys.path.insert(0,ROOT_DIR)
10
sys.path.insert(0,
"../.."
)
11
12
from
neo_paths
import
paths
13
sys.path =
paths
(ROOT_DIR) + sys.path
14
15
# don't put anything above this because the path isn't
16
# extended yet...
17
18
import
neo_cgi
19
try
:
20
# newer versions have an update function that will guaruntee that
21
# neo_util and neo_cs are also loaded when used with non single interpreter
22
# versions of PyApache
23
neo_cgi.update()
24
except
:
25
pass
webui.neo_paths.paths
def paths(root_dir)
Definition:
neo_paths.py:5
webui
Author(s): Scott Hassan
autogenerated on Mon Jun 10 2019 15:51:24