#!/bin/bash
## runs peewit examples from command line

## PYTHONPATH is set to path to peewit _only_. 
## More paths should be set in the project conf in example_project_1/project_package/project_conf.py
## The motivation is that this way the dependencies can be stored along with the experimental code.
## If you dont like it, add ':$PYTHONPATH' when setting PYTHONPATH .
export PYTHONPATH=$HOME/pw/pw_base/python

## appearantly there is no subcommand for adding paths so we have to use export 
python2.6 $@

## The path to example project is not added either because
## peewit is a top-level framework: it expects that experiment module 
## ( for instance example_project/python/example_1.py )
## is called as __main__.




