From cfaa8bbee85937dfef7e4cce6671bb38bf5863a8 Mon Sep 17 00:00:00 2001 From: Jeff Hale Date: Thu, 21 Feb 2019 10:50:49 -0500 Subject: [PATCH] recommend venv or virtualenv, depending on python version venv has been installed with Python since 3.3. https://docs.python.org/3/library/venv.html --- doc/en/goodpractices.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/en/goodpractices.rst b/doc/en/goodpractices.rst index 709437d49..48ce08ae3 100644 --- a/doc/en/goodpractices.rst +++ b/doc/en/goodpractices.rst @@ -7,10 +7,11 @@ Good Integration Practices Install package with pip ------------------------------------------------- -For development, we recommend you use venv_ for virtual environments and pip_ -for installing your application and any dependencies -as well as the ``pytest`` package itself. This ensures your code and -dependencies are isolated from the system Python installation. +For development, we recommend you use venv_ for virtual environments +(or virtualenv_ for Python 2.7) and +pip_ for installing your application and any dependencies, +as well as the ``pytest`` package itself. +This ensures your code and dependencies are isolated from your system Python installation. Next, place a ``setup.py`` file in the root of your package with the following minimum content::