diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-03-19 15:25:05 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-03-19 15:25:05 -0400 |
commit | 1686b0fbebdbb4557bebb3d1ee316d928d050bc5 (patch) | |
tree | e066058a2295c624bab46178ac078e1e91cb5f7c | |
parent | 71ba636c17343d81611eb244e6e3e7a610055fe7 (diff) | |
download | b4-1686b0fbebdbb4557bebb3d1ee316d928d050bc5.tar.gz |
Document how to run from the checkout dir
Anyone who wants a convenient wrapper to run things from the git
checkout without installing pip packages can set up a two-liner wrapper
script and put it in their path.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r-- | README.rst | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -20,6 +20,15 @@ Upgrading python3 -m pip install --user --upgrade b4 ``` +Running from the checkout dir +----------------------------- +If you want to run from the checkout dir without installing the python package, +just create the following wrapper command and put it in your path:: + + #!/bin/bash + B4DIR=$HOME/your/path/to/b4-git-repo + PYTHONPATH=$B4DIR env python3 $B4DIR/b4/command.py $@ + Support ------- For support or with any other questions, please email |