forked from quantmind/pulsar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
42 lines (24 loc) · 748 Bytes
/
Makefile
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
.PHONY: _default clean compile docs test testall coverage release
PYTHON ?= python
_default: compile
clean:
rm -fr dist/ *.egg-info *.eggs build/ pulsar/utils/*.so extensions/lib/lib.c
find . -name '__pycache__' | xargs rm -rf
compile: clean
$(PYTHON) setup.py build_ext -i
docs: compile
cd docs && $(PYTHON) -m sphinx -a -b html . _build/html
test:
flake8
$(PYTHON) -W ignore setup.py test -q
coverage:
flake8
$(PYTHON) -W ignore setup.py test --coverage -q
testall:
flake8
$(PYTHON) -W ignore setup.py test -q
$(PYTHON) -W ignore setup.py test -q --io uv
$(PYTHON) setup.py bench
$(PYTHON) -W ignore setup.py test --coverage --http-py-parser
release: clean compile test
$(PYTHON) setup.py sdist bdist_wheel upload