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
This commit is contained in:
Jeff Hale 2019-02-20 15:33:48 -05:00 committed by GitHub
parent c8a87e48ab
commit 2ef3cb2510
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -7,12 +7,12 @@ Good Integration Practices
Install package with pip 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 for installing your application and any dependencies
as well as the ``pytest`` package itself. This ensures your code and as well as the ``pytest`` package itself. This ensures your code and
dependencies are isolated from the system Python installation. 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 from setuptools import setup, find_packages