FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
msgpack-python/Makefile at main · msgpack/msgpack-python · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
msgpack
/
msgpack-python
Public
Notifications
You must be signed in to change notification settings
Fork
255
Star
2.1k
Code
Issues
4
Pull requests
5
Discussions
Actions
Security and quality
1
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
msgpack-python
/
Makefile
Copy path
More file actions
More file actions
Latest commit
History
History
History
59 lines (47 loc) · 1.34 KB
Breadcrumbs
msgpack-python
/
Makefile
Copy path
File metadata and controls
59 lines (47 loc) · 1.34 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
PYTHON_SOURCES
= msgpack test setup.py
.PHONY
: all
all
: cython
python setup.py build_ext -i -f
.PHONY
: format
format
:
ruff format
$(
PYTHON_SOURCES
)
.PHONY
: lint
lint
:
ruff check
$(
PYTHON_SOURCES
)
.PHONY
: doc
doc
:
cd
docs
&&
sphinx-build -n -v -W --keep-going -b html -d doctrees
.
html
.PHONY
: pyupgrade
pyupgrade
:
@find
$(
PYTHON_SOURCES
)
-name
'
*.py
'
-type f -exec pyupgrade --py37-plus
'
{}
'
\;
.PHONY
: cython
cython
:
cython msgpack/_cmsgpack.pyx
.PHONY
: test
test
: cython
pip install -e
.
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/_cmsgpack.cpp
rm -f msgpack/_cmsgpack.
*
.so
rm -f msgpack/_cmsgpack.
*
.pyd
rm -rf msgpack/__pycache__
rm -rf test/__pycache__
.PHONY
: update-docker
update-docker
:
docker pull quay.io/pypa/manylinux2014_i686
docker pull quay.io/pypa/manylinux2014_x86_64
docker pull quay.io/pypa/manylinux2014_aarch64
.PHONY
: linux-wheel
linux-wheel
:
docker run --rm -v
`
pwd
`
:/project -w /project quay.io/pypa/manylinux2014_i686 bash docker/buildwheel.sh
docker run --rm -v
`
pwd
`
:/project -w /project quay.io/pypa/manylinux2014_x86_64 bash docker/buildwheel.sh
.PHONY
: linux-arm64-wheel
linux-arm64-wheel
:
docker run --rm -v
`
pwd
`
:/project -w /project quay.io/pypa/manylinux2014_aarch64 bash docker/buildwheel.sh
Back
|
FazBrowse Home
|
New Git URL