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:
parent
6b661795cf
commit
cfaa8bbee8
|
@ -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::
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue