File: boinc_path_config.py.in

package info (click to toggle)
boinc 8.0.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 106,832 kB
  • sloc: cpp: 167,537; php: 111,699; pascal: 56,262; ansic: 49,284; xml: 18,762; python: 7,938; javascript: 6,538; sh: 5,719; makefile: 2,183; java: 2,041; objc: 1,867; perl: 1,843; sql: 830; lisp: 47; csh: 30
file content (12 lines) | stat: -rw-r--r-- 384 bytes parent folder | download | duplicates (12)
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'))