-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (30 loc) · 758 Bytes
/
Makefile
File metadata and controls
41 lines (30 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.PHONY: dist
env: cleanall
virtualenv -p python2 venv
prod: env
venv/bin/pip install -e .
dev: prod
venv/bin/pip install ".[dev]"
dist: clean
rm -rf 'dist'
venv/bin/python setup.py bdist_wheel
install: dist
yes | pip uninstall apkworkers
pip install --user dist/*.whl
monitor:
venv/bin/flower -A apkworkers
clean_env:
rm -rf venv
clean_build:
rm -rf dist/
rm -rf build/
find . -name '*.egg' -exec rm -rf {} +
find . -name '*.eggs' -exec rm -rf {} +
find . -name '*.egg-info' -exec rm -rf {} +
clean_python:
find . -name '*.pyc' -exec rm -rf {} +
find . -name '*.pyo' -exec rm -rf {} +
find . -name '*.pyd' -exec rm -rf {} +
find . -name '__pycache__' -exec rm -rf {} +
clean: clean_build clean_python;
cleanall: clean clean_env;