blob: 819d251974e959f277719992f77d5de6996bdcb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
VIRTUALENV_NAME = plot
VIRTUALENV_ROOT = ~/.virtualenvs/$(VIRTUALENV_NAME)
all: graph
env:
if [ ! -d $(VIRTUALENV_ROOT) ]; then \
mkdir -p $$(dirname $(VIRTUALENV_ROOT)); \
virtualenv $(VIRTUALENV_ROOT); \
fi
deps: env
$(VIRTUALENV_ROOT)/bin/pip install -r requirements.pip
graph: deps
$(VIRTUALENV_ROOT)/bin/python ./gen-graph.py
|