From 11bd7febb0a8902d5f2d87955b23b0311d948890 Mon Sep 17 00:00:00 2001 From: David D Lowe Date: Wed, 26 Oct 2022 08:11:06 +0100 Subject: [PATCH 1/2] Clarify "getting started" docs This makes it clearer that you don't need to use both virtualenv and venv at the same time --- doc/source/start.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/source/start.rst b/doc/source/start.rst index 06a2206a3..1a8e334e4 100644 --- a/doc/source/start.rst +++ b/doc/source/start.rst @@ -6,17 +6,18 @@ Installation Bandit is distributed on PyPI. The best way to install it is with pip. -Create a virtual environment (optional): +Create a virtual environment and activate it using `virtualenv` (optional): .. code-block:: console virtualenv bandit-env - python3 -m venv bandit-env - -And activate it: + source bandit-env/bin/activate + +Alternatively, use `venv` instead of `virtualenv` (optional): .. code-block:: console + python3 -m venv bandit-env source bandit-env/bin/activate Install Bandit: From 31026173874fd14f01e91c0981473f5c811862c6 Mon Sep 17 00:00:00 2001 From: Eric Brown Date: Sat, 11 Jan 2025 19:19:12 -0800 Subject: [PATCH 2/2] Update doc/source/start.rst --- doc/source/start.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/source/start.rst b/doc/source/start.rst index 604defee5..928e45a6b 100644 --- a/doc/source/start.rst +++ b/doc/source/start.rst @@ -12,7 +12,6 @@ Create a virtual environment and activate it using `virtualenv` (optional): virtualenv bandit-env source bandit-env/bin/activate - Alternatively, use `venv` instead of `virtualenv` (optional): .. code-block:: console