Skip to content

Commit e58379c

Browse files
Flimmlukehindsericwb
authored
Clarify "getting started" docs (#963)
* Clarify "getting started" docs This makes it clearer that you don't need to use both virtualenv and venv at the same time * Update doc/source/start.rst --------- Co-authored-by: Luke Hinds <[email protected]> Co-authored-by: Eric Brown <[email protected]>
1 parent e4da0b3 commit e58379c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/source/start.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ Installation
66

77
Bandit is distributed on PyPI. The best way to install it is with pip.
88

9-
Create a virtual environment (optional):
9+
Create a virtual environment and activate it using `virtualenv` (optional):
1010

1111
.. code-block:: console
1212
1313
virtualenv bandit-env
14-
python3 -m venv bandit-env
15-
16-
And activate it:
14+
source bandit-env/bin/activate
15+
Alternatively, use `venv` instead of `virtualenv` (optional):
1716

1817
.. code-block:: console
1918
19+
python3 -m venv bandit-env
2020
source bandit-env/bin/activate
2121
2222
Install Bandit:

0 commit comments

Comments
 (0)