mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-10-20 04:13:16 +00:00
Update Makefile
This commit is contained in:
parent
676bbcd0ee
commit
e0934355c6
1 changed files with 11 additions and 16 deletions
27
Makefile
27
Makefile
|
@ -1,32 +1,27 @@
|
||||||
.PHONY: test all python3
|
.PHONY: all
|
||||||
|
|
||||||
all: cython
|
all: cython
|
||||||
python setup.py build_ext -i -f
|
python setup.py build_ext -i -f
|
||||||
|
|
||||||
doc-serve: all
|
.PHONY: cython
|
||||||
cd docs && make serve
|
|
||||||
|
|
||||||
doc:
|
|
||||||
cd docs && make zip
|
|
||||||
|
|
||||||
upload-doc:
|
|
||||||
python setup.py upload_docs --upload-dir docs/_build/html
|
|
||||||
|
|
||||||
cython:
|
cython:
|
||||||
cython --cplus msgpack/*.pyx
|
cython --cplus msgpack/*.pyx
|
||||||
|
|
||||||
python3: cython
|
.PHONY: test
|
||||||
python3 setup.py build_ext -i -f
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
py.test test
|
py.test -v test
|
||||||
|
|
||||||
|
.PHONY: serve-doc
|
||||||
|
serve-doc: all
|
||||||
|
cd docs && make serve
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -rf build
|
rm -rf build
|
||||||
rm msgpack/*.so
|
rm msgpack/*.so
|
||||||
rm -rf msgpack/__pycache__
|
rm -rf msgpack/__pycache__
|
||||||
|
rm -rf test/__pycache__
|
||||||
|
|
||||||
build-manylinux1-wheel:
|
.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_i686 bash docker/buildwheel.sh
|
||||||
docker run --rm -ti -v `pwd`:/project -w /project quay.io/pypa/manylinux1_x86_64 bash docker/buildwheel.sh
|
docker run --rm -ti -v `pwd`:/project -w /project quay.io/pypa/manylinux1_x86_64 bash docker/buildwheel.sh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue