Debian Codegraph @

cmake/tribits/ci_support/FindGeneralScriptSupport.py

raw
1 # @HEADER
2 # *****************************************************************************
3 # TriBITS: Tribal Build, Integrate, and Test System
4 #
5 # Copyright 2013-2016 NTESS and the TriBITS contributors.
6 # SPDX-License-Identifier: BSD-3-Clause
7 # *****************************************************************************
8 # @HEADER
9
10 import os
11 import sys
12
13
14 ciSupportDir = os.path.dirname(os.path.abspath(__file__))
15 tribitsDir = os.path.abspath(os.path.join(ciSupportDir, ".."))
16 pythonUtilsDir = os.path.join(tribitsDir, "python_utils")
17 defaultProjectDir = os.path.abspath(os.path.join(tribitsDir, "../.."))
18
19 sys.path = [pythonUtilsDir] + sys.path
20
21 from GeneralScriptSupport import *