From 7d890cf538a6b5ec1d40d6f95c904bd591df91e0 Mon Sep 17 00:00:00 2001 From: Beyhan Veli Date: Wed, 12 Jun 2024 12:21:23 +0200 Subject: [PATCH] Use a virtual environment for pip in org automation readme Pip will refuse to install system-wide package and suggest the use of a virtual environment. More details in https://peps.python.org/pep-0668/ --- org/readme.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/org/readme.md b/org/readme.md index 13d2819c..b5c5fd48 100644 --- a/org/readme.md +++ b/org/readme.md @@ -85,6 +85,8 @@ Requires Python 3.9. How to run locally: ``` cd ./org +python -m venv +source /bin/activate pip install -r requirements.txt python -m org_management --help python -m org_user_management --help @@ -129,6 +131,8 @@ options: How to run tests: ``` cd ./org +python -m venv +source /bin/activate pip install -r requirements-dev.txt python -m flake8 python -m unittest discover -s .