diff options
author | Jeff Hale <discdiver@users.noreply.github.com> | 2019-02-20 15:33:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-20 15:33:48 -0500 |
commit | 2ef3cb25100ad7008bf5de2387f4b6d1dccbd3fa (patch) | |
tree | 1a26e5b4d4fe7c64e8fd5414237e3319b72c6272 /doc/en/goodpractices.rst | |
parent | c8a87e48ab8673286fdddf710000bcb11b813160 (diff) | |
download | pytest-2ef3cb25100ad7008bf5de2387f4b6d1dccbd3fa.tar.gz |
Recommend use venv instead of virtualenv
From the Python docs:
"Changed in version 3.5: The use of venv is now recommended for creating virtual environments."
-https://docs.python.org/3/library/venv.html
Diffstat (limited to 'doc/en/goodpractices.rst')
-rw-r--r-- | doc/en/goodpractices.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/en/goodpractices.rst b/doc/en/goodpractices.rst index 080685a4c..709437d49 100644 --- a/doc/en/goodpractices.rst +++ b/doc/en/goodpractices.rst @@ -7,12 +7,12 @@ Good Integration Practices Install package with pip ------------------------------------------------- -For development, we recommend to use virtualenv_ environments and 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. -First you need to place a ``setup.py`` file in the root of your package with the following minimum content:: +Next, place a ``setup.py`` file in the root of your package with the following minimum content:: from setuptools import setup, find_packages |