Skip to content

PYTHONPATH for developing PyStratum

P.R. Water edited this page Jul 25, 2016 · 2 revisions

The PyStratum project is split up in several packages and when developing on one or more of the PyStratum packages it is important that the python interpreter finds the right code, i.e. the code in your development tree.

Suppose you have checkout the PyStratum packages under $HOME/Projects/SetBased you must set PYTHONPATH as:

export PYTHONPATH=$HOME/Projects/SetBased/py-stratum-pgsql:$PYTHONPATH
export PYTHONPATH=$HOME/Projects/SetBased/py-stratum-mysql:$PYTHONPATH
export PYTHONPATH=$HOME/Projects/SetBased/py-stratum-mssql:$PYTHONPATH
export PYTHONPATH=$HOME/Projects/SetBased/py-stratum:$PYTHONPATH
Clone this wiki locally