Skip to content

Commit 3ca2b54

Browse files
authored
Merge pull request #857 from luxonis/armv6l_wheels
Raspberry Pi Zero compatible wheels (armv6l)
2 parents cc5370b + 9326a00 commit 3ca2b54

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,15 @@ jobs:
156156
run: python3 -m pip wheel . -w ./wheelhouse/ --verbose
157157
- name: Auditing wheel
158158
run: for whl in wheelhouse/*.whl; do auditwheel repair "$whl" --plat linux_armv7l -w wheelhouse/audited/; done
159+
- name: Install tweaked auditwheel and add armv6l tag
160+
run: |
161+
python3 -m pip install git+https://github.com/luxonis/auditwheel@main
162+
for whl in wheelhouse/*.whl; do python3 -m auditwheel addtag -t linux_armv7l linux_armv6l -w wheelhouse/postaudited/ "$whl"; done
159163
- name: Archive wheel artifacts
160164
uses: actions/upload-artifact@v3
161165
with:
162166
name: audited-wheels
163-
path: wheelhouse/audited/
167+
path: wheelhouse/postaudited/
164168
- name: Deploy wheels to artifactory (if not a release)
165169
if: startsWith(github.ref, 'refs/tags/v') != true
166170
run: bash ./ci/upload-artifactory.sh

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[build-system]
2-
requires = ["setuptools", "wheel", "mypy", "cmake==3.25"]
2+
requires = ["setuptools", "wheel", "mypy<=1.3.0", "cmake==3.25"]

0 commit comments

Comments
 (0)