Skip to content

Commit

Permalink
fix macOS wheels (delocate), version 0.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
zebra-lucky committed Aug 19, 2019
1 parent b54af87 commit 0d2a6cf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions contrib/script_osx.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
#!/bin/bash
set -ev

sudo pip3 install --upgrade pip wheel cython==0.29.13
sudo pip3 install --upgrade pip wheel delocate==0.7.4 cython==0.29.13
python3 setup.py build_ext
python3 setup.py bdist_wheel

# Tests
# Delocate and Tests
sudo pip3 install pytest
case $PYTHON_VERSION in
3.6.8)
export PATH=/Library/Frameworks/Python.framework/Versions/3.6/bin:$PATH
delocate-wheel -v dist/python_bls-$PKG_VERSION-cp36-cp36m-macosx_10_6_intel.whl
sudo pip3 install dist/python_bls-$PKG_VERSION-cp36-cp36m-macosx_10_6_intel.whl
;;
3.7.4)
export PATH=/Library/Frameworks/Python.framework/Versions/3.7/bin:$PATH
delocate-wheel -v dist/python_bls-$PKG_VERSION-cp37-cp37m-macosx_10_6_intel.whl
sudo pip3 install dist/python_bls-$PKG_VERSION-cp37-cp37m-macosx_10_6_intel.whl
;;
esac
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

setup(
name='python-bls',
version='0.1.7',
version='0.1.8',
url='https://github.com/zebra-lucky/python-bls',
license='Apache License 2.0',
python_requires='>=3.6',
Expand Down

0 comments on commit 0d2a6cf

Please sign in to comment.