Skip to content

Commit

Permalink
ECC-1793: develop binary wheel - macos arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
iainrussell committed Apr 11, 2024
1 parent 00811e0 commit c70d878
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/wheel-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
# nor does it submit to any jurisdiction.

set -eaux
python_version=$1


arch=$(arch)
[[ $arch == "i386" ]] && arch="x86_64" # GitHub Actions on macOS declare i386
Expand Down Expand Up @@ -53,6 +55,9 @@ diet() {
# version=$(echo $1| sed 's/\.//')
env | sort

pip3 list
brew list

# set up conda environment
if [ -f /opt/conda/etc/profile.d/conda.sh ]; then
source /opt/conda/etc/profile.d/conda.sh
Expand All @@ -61,6 +66,9 @@ if [ -f /opt/conda/etc/profile.d/conda.sh ]; then
conda install pip
fi

pip3 list
brew list

pip3 install wheel delocate setuptools pytest

rm -fr dist wheelhouse tmp
Expand Down

0 comments on commit c70d878

Please sign in to comment.