Skip to content

Commit

Permalink
Add piwheels index during pip download as pyjsparser has no wheels on…
Browse files Browse the repository at this point in the history
… pypi
  • Loading branch information
laggykiller committed Jun 5, 2024
1 parent 649ad4a commit 1be9034
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion AppImageBuilder-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ script:

# Install pip packages
- mkdir wheel
- pip download --python-version=311 --abi=cp311 --platform manylinux2014_aarch64 --only-binary=':all:' -d wheel -r requirements.txt
- pip download --python-version=311 --abi=cp311 --platform manylinux2014_aarch64 --only-binary=':all:' -d wheel -r requirements.txt --extra-index-url https://www.piwheels.org/simple
- 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/*
Expand Down
4 changes: 2 additions & 2 deletions compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ def osx_install_universal2_dep() -> None:
Path("wheel_universal2").mkdir()

osx_run_in_venv(
"python -m pip download --require-virtualenv -r requirements.txt --platform macosx_11_0_arm64 --only-binary=:all: -d wheel_arm"
"python -m pip download --require-virtualenv -r requirements.txt --platform macosx_11_0_arm64 --only-binary=:all: -d wheel_arm --extra-index-url https://www.piwheels.org/simple"
)
osx_run_in_venv(
"python -m pip download --require-virtualenv -r requirements.txt --platform macosx_11_0_x86_64 --only-binary=:all: -d wheel_x64"
"python -m pip download --require-virtualenv -r requirements.txt --platform macosx_11_0_x86_64 --only-binary=:all: -d wheel_x64 --extra-index-url https://www.piwheels.org/simple"
)

create_universal_wheels(
Expand Down

0 comments on commit 1be9034

Please sign in to comment.