You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
347 B
18 lines
347 B
"""Set up paths for DS2"""
|
|
from __future__ import absolute_import
|
|
from __future__ import division
|
|
from __future__ import print_function
|
|
|
|
import os.path
|
|
import sys
|
|
|
|
|
|
def add_path(path):
|
|
if path not in sys.path:
|
|
sys.path.insert(0, path)
|
|
|
|
|
|
this_dir = os.path.dirname(__file__)
|
|
proj_path = os.path.join(this_dir, '..')
|
|
add_path(proj_path)
|