Files
tasmotizer/Makefile
2019-12-16 16:25:24 +03:00

26 lines
474 B
Makefile

venv:
@echo "creating Virtualenv..."
virtualenv -p python3 venv
. venv/bin/activate; \
pip install --upgrade pip setuptools; \
pip install -r requirements.txt;
build: venv
@echo "creating Application..."
. venv/bin/activate; \
pip install -U pyinstaller; \
pyinstaller --console --onefile --name=tasmotizer tasmotizer.py;
clean:
@echo "cleaning..."
@rm -f *.spec
@rm -rf __pycache__
@rm -rf build
run: venv
. venv/bin/activate; \
python3 tasmotizer.py