Python virtualenv
From wikinotes
Safely manage python requirements within an environment.
Documentation
official docs https://virtualenv.pypa.io/en/stable/
Usage
# create venv python -m virtualenv venv # python interpreter within venv, with defined requirements venv/bin/python
Setup.py integration
I don't believe this exists, but you could use python tox to manage building virtualenvs built from setup.py