File: boinc_path_config.py.in

package info (click to toggle)
boinc 7.14.2+dfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 111,132 kB
  • sloc: cpp: 163,589; php: 113,173; ansic: 49,284; pascal: 35,620; xml: 17,864; java: 13,521; python: 6,551; sh: 4,082; perl: 1,843; makefile: 1,796; objc: 1,543; sql: 959; csh: 126; 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'))