Last active
April 22, 2021 17:48
-
-
Save nsorros/7d095e0fdcdeccbe31149300c9f1f991 to your computer and use it in GitHub Desktop.
Create virtualenv
This file contains 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
PYTHON := python3.8 | |
VENV := venv | |
PIP := venv/bin/pip | |
.PHONY: venv | |
venv: ## creates virtualenv | |
@if [ -d $(VENV) ]; then rm -rf $(VENV); fi | |
@mkdir -p $(VENV) | |
$(PYTHON) -m venv $(VENV) | |
$(PIP) install --upgrade pip | |
$(PIP) install -r requirements.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment