forked from wptoux/fastgm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
33 lines (25 loc) · 703 Bytes
/
Copy pathmakefile
File metadata and controls
33 lines (25 loc) · 703 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
.PHONY: build dist redist install install-from-source clean uninstall
dev:
CYTHONIZE=1 python setup.py develop
test: clean dev
pytest --junitxml reports/junit/junit.xml
pytest --cov
coverage xml -o reports/coverage/coverage.xml
genbadge tests -o reports/tests.svg
genbadge coverage -o reports/coverage.svg
build:
CYTHONIZE=1 python setup.py build
dist:
CYTHONIZE=1 python setup.py sdist bdist_wheel
redist: clean dist
install:
CYTHONIZE=1 pip install .
clean: uninstall
$(RM) -r build dist src/*.egg-info
$(RM) -r src/fastgm/*.c
$(RM) -r .pytest_cache
$(RM) -r src/*.so src/fastgm/*.so
find . -name __pycache__ -exec rm -r {} +
#git clean -fdX
uninstall:
pip uninstall -y fastgm