python & pipenv & direnv

Install pipenv:
pip install --user pipenv

Create and enter project folder:
mkdir myproject
cd myproject


Install software for your project (while in project folder):
pipenv install django

Enter pipenv shell:
pipenv shell

(bonus points)

Install direnv:
sudo dnf install direnv

Automate entering the pipenv environment (while in project folder):
echo layout pipenv >> .envrc

Now every time you enter or exit the folder you enter the pipenv environment seamlessly. 🙂

Bonus Bonus…

Check out https://kellner.io/direnv.html for advice on how to setup the environment to display in the bash prompt.