-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
22 lines (18 loc) · 683 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
all: ## Build wheel
zip -r \
--exclude=".git/*" \
--exclude="/venv/*" \
--exclude="*.csv" \
--exclude="*__pycache__/*" \
$(shell basename $$PWD).qz .
setup: ## Create venv and install dependencies on it
python3 -m venv venv
./venv/bin/pip install -U pip
./venv/bin/pip install wheel
./venv/bin/pip install -r requirements.txt
install: ## Install dependencies on active python environment
pip install -r requirements.txt
clean: ## Clean
rm -rf dist venv *.whl *.qz
help: ## List all make tasks
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'