Pipenv store venv in project

How to setup pipenv to store venv in the project you are currently working on?

Pipenv is a very welcome addition to most developer's toolset. However, there are projects where pipenv has to set up the virtual environment in the project itself. There are several ways to do that. I will list two I use most often.

The first option is to call pipenv command using an environment prefix:

PIPENV_VENV_IN_PROJECT=1 pipenv

The second option is to open your ".zshrc" or ".bash_profile" file (depending on the shell you are using) and pasting:

export PIPENV_VENV_IN_PROJECT=1