forked from wizofe/bluewand-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (23 loc) · 659 Bytes
/
Makefile
File metadata and controls
32 lines (23 loc) · 659 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
# Copyright (c) KANO Computing Ltd. 2018
# Licensed under the GNU GPLv3 License
# Written by: Ioannis Valasakis <code@wizofe.uk>
PYTHON ?= python3
SETUP := setup.py
clean-pyc:
find . -name '*.pyc' -exec rm --force {} +
find . -name '*.pyo' -exec rm --force {} +
name '*~' -exec rm --force {}
isort:
sh -c "isort --skip-glob=.tox --recursive . "
lint:
flake8 --exclude=.tox
test: clean-pyc
py.test --verbose --color=yes $(TEST_PATH)
install:
$(PYTHON) $(SETUP) install --root $(DESTDIR)
clean:
$(PYTHON) $(SETUP) clean --all
uninstall: clean
-rm --force --recursive build/
-rm --force --recursive dist/
-rm --force --recursive *.egg-info