diff --git a/docs/development.md b/docs/development.md index 92946eb5eb..40997b3021 100644 --- a/docs/development.md +++ b/docs/development.md @@ -95,8 +95,7 @@ pip3 install virtualenv virtualenv --python=python3 .env source .env/bin/activate pip3 install -r requirements.txt --require-hashes -pip3 install -e . -python3 setup.py install # also compiles the babel translation-files +pip3 install -e . # this does not compile the babel translation-files ``` _note: invoking commands in the Windows PowerShell is slightly different:_ diff --git a/utils/test-all-linux.sh b/utils/test-all-linux.sh index b1f18e9bbb..704cd86800 100755 --- a/utils/test-all-linux.sh +++ b/utils/test-all-linux.sh @@ -4,9 +4,11 @@ pip3 install virtualenv virtualenv --python=python3 .env source .env/bin/activate +# removing modules related to cryptoadvance is faster than doing rm -rf .env +pip3 freeze | grep ^cryptoadvance | xargs pip uninstall -y # the ^ means the line has to start with the search word +pip3 freeze | grep ^specterext | xargs pip uninstall -y # the ^ means the line has to start with the search word pip3 install -r requirements.txt --require-hashes -pip3 install -e . -python3 setup.py install # also compiles the babel translation-files +pip3 install -e . # this does not compile the babel translation-files pip3 install -r test_requirements.txt