File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22#
33# SPDX-License-Identifier: ISC
44
5-
65name : Release
76
87on :
98 push :
109 tags :
11- - ' v* '
10+ - " v* "
1211
1312jobs :
1413 release :
1514 runs-on : ubuntu-latest
1615 environment : release
1716
1817 steps :
19- - uses : actions/checkout@v6
20- - uses : actions/setup-python@v6
21- with :
22- python-version : ' 3.13'
23- - run : make pip
24- - run : make dist
25- - run : make publish
26- env :
27- TWINE_USERNAME : __token__
28- TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
18+ - uses : actions/checkout@v6
19+ - uses : actions/setup-python@v6
20+ with :
21+ python-version : " 3.13"
22+ - run : sudo apt-get install -y patchelf
23+ - run : make pip
24+ - run : make publish
25+ env :
26+ TWINE_USERNAME : __token__
27+ TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change @@ -48,7 +48,15 @@ build:
4848dist :
4949 python -m build
5050
51- publish :
51+ repair-wheels :
52+ python -m pip install --upgrade auditwheel
53+ auditwheel repair dist/* .whl -w dist/repaired
54+ rm -f dist/* .whl
55+ mv dist/repaired/* .whl dist/
56+ rm -rf dist/repaired
57+
58+ publish : dist repair-wheels
59+ python -m pip install --upgrade twine
5260 python -m twine upload dist/*
5361
5462docs-serve :
Original file line number Diff line number Diff line change @@ -34,17 +34,18 @@ Issues = "https://github.com/alganet/apywire/issues"
3434
3535[project .optional-dependencies ]
3636dev = [
37+ " auditwheel" ,
3738 " black" ,
3839 " build" ,
3940 " coverage" ,
4041 " Cython" ,
41- " flake8" ,
4242 " flake8-pyproject" ,
43+ " flake8" ,
4344 " isort" ,
44- " mkdocs" ,
45+ " mkdocs-autorefs " ,
4546 " mkdocs-material" ,
47+ " mkdocs" ,
4648 " mkdocstrings[python]" ,
47- " mkdocs-autorefs" ,
4849 " mypy" ,
4950 " pytest-cov" ,
5051 " pytest" ,
You can’t perform that action at this time.
0 commit comments