mirror of
https://github.com/seemoo-lab/opendrop.git
synced 2026-09-14 15:16:11 -04:00
Check for virtualenv in Makefile
This commit is contained in:
@@ -8,6 +8,9 @@ ci: checkformat lint test
|
||||
$(VENV): $(VENV)/bin/activate
|
||||
|
||||
$(VENV)/bin/activate: setup.py requirements-dev.txt Makefile
|
||||
ifeq (, $(shell which virtualenv))
|
||||
$(error "`virtualenv` is not installed, consider running `pip3 install virtualenv`")
|
||||
endif
|
||||
test -d $(VENV) || virtualenv -p python3 $(VENV)
|
||||
$(PYTHON) -m pip install --upgrade pip
|
||||
$(PYTHON) -m pip install -r requirements-dev.txt
|
||||
|
||||
Reference in New Issue
Block a user