Skip to content

Commit

Permalink
More tweaks to build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Takishima committed Feb 10, 2022
1 parent 5a07213 commit bae6b7c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,18 @@ cd "${BASEPATH}"

$PYTHON -m venv venv
source venv/bin/activate
$PYTHON -m pip install -U pip setuptools wheel build pybind11


pkgs=(pip setuptools wheel build pybind11)

if [[ "$OSTYPE" == "linux-gnu"* ]]; then
pkgs+=(auditwheel)
elif [[ "$OSTYPE" == "darwin"* ]]; then
pkgs+=(delocate)
fi

$PYTHON -m pip install -U "${pkgs[@]}"


# ------------------------------------------------------------------------------
# Setup arguments for build
Expand Down

0 comments on commit bae6b7c

Please sign in to comment.