From 2ef3cb25100ad7008bf5de2387f4b6d1dccbd3fa Mon Sep 17 00:00:00 2001 From: Jeff Hale Date: Wed, 20 Feb 2019 15:33:48 -0500 Subject: [PATCH] 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 --- doc/en/goodpractices.rst | 4 ++-- 1 file 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