// -*- html -*- // $Id$ require_once("docutil.php"); page_head("Python Framework"); ?> See the section on Python in the Software Prerequisites.
boinc/py/Boinc
contains the Boinc
module. This means if you have boinc/py/
in your python path you can
write for example:
from Boinc.setup_project import *
To ensure boinc/py/
is in your python path:
import boinc_path_config
This is a special kludge module that configure
places in relevant
directories which then modifies sys.path
appropriately.
boinc_project_path
is imported to get the paths
for config.xml
and run_state.xml
. The default
paths for these are the parent directory of the invocation script. You can
override these defaults
boinc_project_path.py
config_xml_filename = '/etc/boinc/yetiathome/config.xml' run_state_xml_filename = '/var/lib/boinc/yetiathome/run_state.xml'See the source of file
boinc/py/Boinc/boinc_project_path.py
for
details.
boinc/py/ | Boinc/*.py | Main BOINC python modules |
boinc/sched/ | start | BOINC start / Super Cron program |
boinc/tools/ | add | Adds objects to the database |
boinc/test/ | test*.py | Test scripts: see the testing framework. |