Skip to content

Commit

Permalink
Workaround no linux arm64 wheels for psutil
Browse files Browse the repository at this point in the history
  • Loading branch information
laggykiller committed Jun 9, 2024
1 parent 8624109 commit 62ba49e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions AppImageBuilder-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ script:

# Workaround no linux arm64 wheels for psutil
# https://github.com/giampaolo/psutil/issues/1972
- cat requirements.txt | grep -v 'psutil' > requirements-linux-arm64.txt
- cat requirements.txt | grep -v 'psutil' | grep -v 'PyMemoryEditor' > requirements-linux-arm64.txt

# Install pip packages
- mkdir wheel
- pip download --python-version=311 --abi=cp311 --platform manylinux2014_aarch64 --only-binary=':all:' -d wheel -r requirements-linux-arm64.txt
- pip download --python-version=311 --abi=cp311 --platform manylinux2014_aarch64 --only-binary=':all:' -d wheel --no-deps PyMemoryEditor
- pip download --python-version=311 --abi=cp311 --platform manylinux2014_aarch64 --only-binary=':all:' -d wheel certifi opencv-python
- find ./wheel/*.whl -exec bash -c 'mv $0 ${0/-cp*.whl/-py3-none-any.whl}' {} \;
- pip install --ignore-installed --prefix=/usr --root=AppDir ./wheel/*
- pip install --ignore-installed --prefix=/usr --root=AppDir --no-deps ./wheel/*

AppDir:
path: ./AppDir
Expand Down

0 comments on commit 62ba49e

Please sign in to comment.