Newer
Older
pyenergenie / src / Makefile
dist/energenie: energenie_cmd virtualenv
	.env/bin/pyinstaller -F energenie_cmd

install: dist/energenie
	install dist/energenie_cmd /usr/local/bin/energenie

virtualenv: .env/bin/activate
.env/bin/activate: requirements.txt
	test -d .env || virtualenv --python=python2 .env
	.env/bin/pip install -q -r requirements.txt
	touch .env/bin/activate