mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-06 17:59:52 +00:00
33 lines
740 B
Makefile
33 lines
740 B
Makefile
.PHONY: all
|
|
all: cython
|
|
python setup.py build_ext -i -f
|
|
|
|
.PHONY: cython
|
|
cython:
|
|
cython --cplus msgpack/_cmsgpack.pyx
|
|
|
|
.PHONY: test
|
|
test:
|
|
pytest -v test
|
|
MSGPACK_PUREPYTHON=1 pytest -v test
|
|
|
|
.PHONY: serve-doc
|
|
serve-doc: all
|
|
cd docs && make serve
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -rf build
|
|
rm -f msgpack/_msgpack.cpp
|
|
rm -rf msgpack/__pycache__
|
|
rm -rf test/__pycache__
|
|
|
|
.PHONY: update-docker
|
|
update-docker:
|
|
docker pull quay.io/pypa/manylinux1_i686
|
|
docker pull quay.io/pypa/manylinux1_x86_64
|
|
|
|
.PHONY: linux-wheel
|
|
linux-wheel:
|
|
docker run --rm -ti -v `pwd`:/project -w /project quay.io/pypa/manylinux1_i686 bash docker/buildwheel.sh
|
|
docker run --rm -ti -v `pwd`:/project -w /project quay.io/pypa/manylinux1_x86_64 bash docker/buildwheel.sh
|