pipenv - cirelledo-csa/herd GitHub Wiki
Pip env for controlling python virtual environments
You'll want to be able to control python environments using virtual environments. pipenv is a nice utility that manages the spec of a python virtual environment from simple files, Pipfile and Pipfile.lock
Install
brew install pipenv
Boot strap Virtual env from Pipfile
Install packages and dependencies from a directory with a Pipfile at the top level.
pipenv install
activate virtual environment with pipenv
You can activate a python virtual environment from a directory with a Pipfile at the top level .
pipenv shell
which python
python --version
Note that your prompt should change to reflect the use of a python virtual environment.
de-activate virtual environment with pipenv
You can activate a python virtual environment from a directory with a Pipfile at the top level .
deactivate