realpython / python-guide

Python best practices guidebook, written for humans.
https://docs.python-guide.org
Other
28.35k stars 5.83k forks source link

update virtual environment instructions #1034

Open cs01 opened 4 years ago

cs01 commented 4 years ago

Now that the venv module is part of the standard library for all non-EOL'd Python versions, the instructions can be simplified to use venv rather than virtualenv.

This PR replaces mentions of virtualenv with venv everywhere but the section that refers users to virtualenv if they are using an older Python version. virtualenv-related tools were removed.

jhermann commented 4 years ago
cs01 commented 4 years ago
jhermann commented 4 years ago

--no-site-packages is the default and deprecated for a long time now – actually so long it now disappeared from the newest releases. The --system-site-packages option has to be described instead.

cs01 commented 4 years ago

This is ready for another review