From 775c000417c5525576a25c9f619fd0ed0e56b305 Mon Sep 17 00:00:00 2001
From: David Hendriks <davidhendriks93@gmail.com>
Date: Wed, 8 Sep 2021 17:34:00 +0100
Subject: [PATCH] updated readme to contain an updated version of the
 installion command

---
 README.md | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 807748b50..b13ddb713 100644
--- a/README.md
+++ b/README.md
@@ -51,14 +51,15 @@ For this it is best to set up a virtual environment. Activate the virtualenviron
 Then run:
 ```
 python setup.py clean && python setup.py build --force && python setup.py sdist && pip install -v dist/binarycpython-<version of this package>.tar.gz
+python setup.py clean && pip uninstall binarycpython && rm dist/* && python setup.py build --force && python setup.py sdist && pip install -v dist/binarycpython-<version of this package>.tar.gz
 ```
-You can find the version of this package in setup.py.
+This will clean the build directory, remove binarycpython from the venv, remove the dist packages, and then rebuilding and reinstalling the package. You can find the version of this package in setup.py.
 
 This will install this package into the virtual environment. Making changes to the sourcecode can be "installed" into the virtual env with the same command. 
 
 If this is not the first time you install the package, but rather rebuild it because you make changes in either binary_c or binarycpython, you should ignore the currently installed version, and also skip installing the dependencies again, by executing the following command:
 ```
-python setup.py clean && python setup.py build --force && python setup.py sdist && pip install --ignore-installed --no-dependencies -v dist/binarycpython-<version of this package>.tar.gz
+python setup.py clean && pip uninstall binarycpython && rm dist/* && python setup.py build --force && python setup.py sdist && pip install --ignore-installed --no-dependencies -v dist/binarycpython-<version of this package>.tar.gz
 ```
 
 #### After installation
-- 
GitLab