Skip to content

Commit

Permalink
pre-install numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
kali committed Sep 17, 2023
1 parent 1fbce64 commit 6cf7fd6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/py/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ test-command = """pytest {project}"""
skip = "cp312-* *-musllinux_i686"
before-build = """
set -ex
yum install -y openblas-devel cmake pkgconfig
pip install numpy --config-settings=setup-args="-Dallow-noblas=true"
cargo --version || (curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal
. $HOME/.cargo/env
rustup toolchain add stable
Expand All @@ -34,14 +34,14 @@ RUSTC_WRAPPER=sccache
archs = "x86_64 universal2 arm64"
skip = "cp312-*"
before-build = """
brew install openblas cmake
pip install numpy --config-settings=setup-args="-Dallow-noblas=true"
rustup target add aarch64-apple-darwin
[ -e $HOME/.local/bin/sccache ] || ./.travis/setup-sccache.sh ]
"""

[tool.cibuildwheel.windows]
before-build = """
pip install numpy -C-Dallow-noblas=true
pip install numpy --config-settings=setup-args="-Dallow-noblas=true"
"""
skip = "cp312-* *-win32"

0 comments on commit 6cf7fd6

Please sign in to comment.