Skip to content

Commit

Permalink
Recommend use venv instead of virtualenv
Browse files Browse the repository at this point in the history
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
  • Loading branch information
discdiver committed Feb 20, 2019
1 parent c8a87e4 commit 2ef3cb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/en/goodpractices.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2ef3cb2

Please sign in to comment.