summaryrefslogtreecommitdiff
path: root/doc/en/goodpractices.rst
diff options
context:
space:
mode:
authorJeff Hale <discdiver@users.noreply.github.com>2019-02-21 10:50:49 -0500
committerGitHub <noreply@github.com>2019-02-21 10:50:49 -0500
commitcfaa8bbee85937dfef7e4cce6671bb38bf5863a8 (patch)
treed392471fcfa759512a9ca8072df51f15783a5422 /doc/en/goodpractices.rst
parent6b661795cf072ff57132376e59bff6e00ba163d1 (diff)
downloadpytest-cfaa8bbee85937dfef7e4cce6671bb38bf5863a8.tar.gz
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
Diffstat (limited to 'doc/en/goodpractices.rst')
-rw-r--r--doc/en/goodpractices.rst9
1 files 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::