File: boinc_path_config.py.in

package info (click to toggle)
boinc 7.4.23%2Bdfsg-1%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 83,852 kB
  • ctags: 37,013
  • sloc: cpp: 170,660; ansic: 58,078; php: 49,917; xml: 14,080; java: 13,585; python: 6,181; perl: 4,168; sh: 3,454; makefile: 2,096; sql: 1,192; objc: 572; csh: 126; pascal: 62; lisp: 47
file content (12 lines) | stat: -rw-r--r-- 384 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
# $Id$

# This module prepends boinc/py/ to the python system path

# configure generates boinc/*/boinc_path_config.py from
# boinc/py/Boinc/boinc_path_config.py.in (in all directories that contain
# python scripts, so that they can directly import path_config.py)

import sys, os

TOP_BUILD_DIR = "/usr/share/boinc-server-maker"
sys.path.insert(0, os.path.join(TOP_BUILD_DIR, 'py'))