2020-06-07 17:41:34 +02:00
|
|
|
PYTHON = python
|
2020-06-07 18:29:55 +02:00
|
|
|
VENV = ~/tuxvenv
|
|
|
|
|
|
|
|
# Init
|
|
|
|
main:
|
|
|
|
$(PYTHON) -m venv --clear $(VENV)
|
|
|
|
$(VENV)/bin/pip install -U pip setuptools
|
|
|
|
install:
|
|
|
|
$(VENV)/bin/pip install .
|
|
|
|
update:
|
|
|
|
$(VENV)/bin/pip install -U .
|
2020-06-07 17:41:34 +02:00
|
|
|
|
|
|
|
# Blackify code
|
|
|
|
reformat:
|
|
|
|
$(PYTHON) -m black `git ls-files "*.py"`
|