-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
57 lines (44 loc) · 1.41 KB
/
Makefile
File metadata and controls
57 lines (44 loc) · 1.41 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
help:
@echo "Please use 'make <target>' where <target> is one of"
@echo " clean remove temporary files created by build tools"
@echo " cleanmeta removes all META-* and egg-info/ files created by build tools"
@echo " cleantox removes tox files"
@echo " cleancov remove all files related to coverage reports"
@echo " cleanall all the above + tmp files from development tools"
@echo " test run test suite"
@echo " sdist make a source distribution"
@echo " bdist make an egg distribution"
@echo " install install package"
@echo " *** CI Commands ***"
@echo " test starts/activates the test cluster nodes and runs tox test"
@echo " tox run all tox environments and combine coverage report after"
clean:
-rm -f MANIFEST
-rm -rf dist/
-rm -rf build/
cleancov:
rm -rf .coverage.*
cleanmeta:
-rm -rf *.egg-info/
cleanall: clean cleancov cleanmeta
-find . -type f -name "*~" -exec rm -f "{}" \;
-find . -type f -name "*.orig" -exec rm -f "{}" \;
-find . -type f -name "*.rej" -exec rm -f "{}" \;
-find . -type f -name "*.pyc" -exec rm -f "{}" \;
-rm -rf .tox/
sdist: cleanmeta
python setup.py sdist
bdist: cleanmeta
python setup.py bdist_egg
install:
python setup.py install
local:
python setup.py build_ext --inplace
test:
make tox
tox:
coverage erase
tox
coverage combine
coverage report
.PHONY: test