summaryrefslogtreecommitdiff
path: root/Makefile
blob: 01d8092107feb1c54f0191cd24dc23b95baf93cd (plain)
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
.PHONY: test all python3

all: cython
	python setup.py build_ext -i -f

doc-serve: all
	cd docs && make serve

doc:
	cd docs && make zip

upload-doc:
	python setup.py upload_docs --upload-dir docs/_build/html

cython:
	cython --cplus msgpack/*.pyx

python3: cython
	python3 setup.py build_ext -i -f

test:
	py.test test

.PHONY: clean
clean:
	rm -rf build
	rm msgpack/*.so
	rm -rf msgpack/__pycache__