Skip to content

Virtual environment systems

fblanchetNaN edited this page Apr 28, 2021 · 3 revisions

Virtual environment systems

venv

python -m venv ${ENV_NAME}
source .${ENV_NAME}/bin/activate

pip install black

flit

Pipfile

[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]

[dev-packages]

[requires]
pipenv --python ${VERSION}
pipenv install

pipenv add --dev black

poetry

poetry env use ${VERSION}
poetry install

poetry add black

REQUIRES pyproject.toml