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
This commit is contained in:
Jeff Hale 2019-02-21 10:50:49 -05:00 committed by GitHub
parent 6b661795cf
commit cfaa8bbee8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -7,10 +7,11 @@ Good Integration Practices
Install package with pip Install package with pip
------------------------------------------------- -------------------------------------------------
For development, we recommend you use venv_ for virtual environments and pip_ For development, we recommend you use venv_ for virtual environments
for installing your application and any dependencies (or virtualenv_ for Python 2.7) and
as well as the ``pytest`` package itself. This ensures your code and pip_ for installing your application and any dependencies,
dependencies are isolated from the system Python installation. 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:: Next, place a ``setup.py`` file in the root of your package with the following minimum content::