Compare commits
1 Commits
master
...
venv-virtu
Author | SHA1 | Date | |
---|---|---|---|
82bbf75e3b |
5
Makefile
5
Makefile
@ -1,5 +1,8 @@
|
|||||||
|
# Try to use python3 -m venv, but fallback to virtualenv just in case
|
||||||
|
VENV := $(shell python3 -m venv --help &> /dev/null && echo 'python3 -m venv' || echo 'virtualenv -p python3')
|
||||||
|
|
||||||
env:
|
env:
|
||||||
python3 -m venv env
|
$(VENV) env
|
||||||
./env/bin/pip install -r requirements-dev.txt
|
./env/bin/pip install -r requirements-dev.txt
|
||||||
|
|
||||||
.PHONY: run
|
.PHONY: run
|
||||||
|
Loading…
Reference in New Issue
Block a user