From 1686b0fbebdbb4557bebb3d1ee316d928d050bc5 Mon Sep 17 00:00:00 2001 From: Konstantin Ryabitsev Date: Thu, 19 Mar 2020 15:25:05 -0400 Subject: 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 --- README.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.rst b/README.rst index e1e2b9c..b569e33 100644 --- a/README.rst +++ b/README.rst @@ -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 -- cgit v1.2.3