File: FindTribitsModuleDirs.py

package info (click to toggle)
trilinos 16.1.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 994,012 kB
  • sloc: cpp: 3,764,859; ansic: 425,011; fortran: 160,684; python: 101,476; xml: 74,329; sh: 37,044; makefile: 22,641; perl: 7,525; f90: 6,424; csh: 5,285; objc: 2,620; lex: 1,646; lisp: 810; yacc: 603; javascript: 552; awk: 364; ml: 281; php: 145
file content (11 lines) | stat: -rw-r--r-- 374 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
import os
import sys


thisDir = os.path.dirname(os.path.abspath(__file__))
tribitsDir = os.path.abspath(os.path.join(thisDir, "..", "..", "..", "cmake", "tribits"))
print("tribitsDir = '"+tribitsDir+"'")
pythonUtilsDir = os.path.join(tribitsDir, "python_utils")
ciSupportDir = os.path.join(tribitsDir, "ci_support")

sys.path = [ciSupportDir] + [pythonUtilsDir] + sys.path