installing bzr

Jari Aalto jari.aalto at cante.net
Thu Mar 22 18:53:15 GMT 2007


"John Gabriele" <jmg3000 at gmail.com> writes:
> | Please check bzrlib is on your PYTHONPATH.

Yes, the install instructions are not exactly clear about this.

> | $ ./setup.py uninstall --home=/home/me/opt

Put something equivalent like this to your ~/.bashrc

    if [ "$PYTHONPATH" ]; then
        PYTHONPATH=$PYTHONPATH:$HOME/opt
    else
        PYTHONPATH=$HOME/opt
    fi

Personally I also guard this code against multiple(*) .bashrc invocations
and use '~' for $HOME for readability.

Jari

(*) Basicly you test if path is already there  and skip the statements.




More information about the bazaar mailing list