b79c0615a0
The instructions require a minimum version of Ansible and netaddr. Enforce these dependencies through a venv. Particularly useful when switching between other projects. Also, useful for the future as Kargo expands, and may require additional dependencies.
11 lines
269 B
Makefile
11 lines
269 B
Makefile
venv: venv/bin/activate
|
|
|
|
venv/bin/activate: requirements.txt
|
|
test -d venv || virtualenv --no-setuptools -p `which python` venv
|
|
. venv/bin/activate; pip install -r requirements.txt
|
|
|
|
clean:
|
|
$(RM) -rf venv
|
|
find . -name "*.pyc" -exec $(RM) -rf {} \;
|
|
|
|
.PHONY:clean venv
|