From 9467891d8bd3bcd4efed4e039665e0783e855a0a Mon Sep 17 00:00:00 2001 From: Lennart Date: Mon, 11 Dec 2023 21:00:24 +0100 Subject: [PATCH] [UPD] Update development installations instructions --- docs/_static/manuals.install.rst | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/_static/manuals.install.rst b/docs/_static/manuals.install.rst index e63a54f0..ff05072c 100644 --- a/docs/_static/manuals.install.rst +++ b/docs/_static/manuals.install.rst @@ -24,8 +24,8 @@ Create a virtual environment for instance on linux with virtualenv: .. code-block:: bash - $ virtualenv -p python3 venv/bitcoinlib - $ source venv/bitcoinlib/bin/activate + $ virtualenv -p ~/.virtualenvs/bitcoinlib + $ source ~/.virtualenvs/bitcoinlib/bin/activate Then clone the repository and install dependencies: @@ -33,7 +33,13 @@ Then clone the repository and install dependencies: $ git clone https://github.com/1200wd/bitcoinlib.git $ cd bitcoinlib - $ pip install -r requirements-dev.txt + $ python -m pip install .[dev] + +You can test your local installation by running all unittests: + +.. code-block:: bash + + $ python -m unittest