This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VENV=.venv | |
PYVERSION=3.6.5 | |
${VENV}: | |
@which pyenv > /dev/null 2>&1 || (echo "Install pyenv (e.g. brew install pyenv)" && exit 1) | |
pyenv local ${PYVERSION} || pyenv install ${PYVERSION} && pyenv local ${PYVERSION} | |
virtualenv --version || pip install virtualenv | |
virtualenv ${VENV} | |
${VENV}/bin/activate: ${VENV} requirements.txt |