Browse Source

Drop support for 32-bit macOS (#25)

* 8.0.3-rc.1
anonswap
Ofek Lev 6 years ago
committed by GitHub
parent
commit
482e7ab833
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      .travis/build-linux-wheels.sh
  2. 10
      .travis/deploy.sh
  3. 6
      .travis/install.sh
  4. 5
      README.rst

17
.travis/build-linux-wheels.sh

@ -9,15 +9,28 @@ yum install -y pkg-config libffi libffi-devel
# Use updated GMP
curl -O https://ftp.gnu.org/gnu/gmp/gmp-6.1.2.tar.bz2 && tar -xjpf gmp-*.tar.bz2 && cd gmp* && ./configure --build=${BUILD_GMP_CPU}-pc-linux-gnu > /dev/null && make > /dev/null && make check > /dev/null && make install > /dev/null && cd ..
mkdir out
# if [[ "$BUILD_GMP_CPU" == "amd64" ]]; then
# curl -L -O https://bitbucket.org/squeaky/portable-pypy/downloads/pypy3.5-6.0.0-linux_x86_64-portable.tar.bz2
# tar -xjpf pypy3.5-6.0.0-linux_x86_64-portable.tar.bz2
# pypy3.5-6.0.0-linux_x86_64-portable/bin/pypy3 -m pip install typing
# pypy3.5-6.0.0-linux_x86_64-portable/bin/pypy3 -m pip install wheel
# pypy3.5-6.0.0-linux_x86_64-portable/bin/pypy3 -m pip install pyelftools
# pypy3.5-6.0.0-linux_x86_64-portable/bin/pypy3 -m pip wheel /io/ -w wheelhouse/
# pypy3.5-6.0.0-linux_x86_64-portable/bin/pypy3 -m pip install -e git://github.com/pypa/auditwheel.git@fb6f76d4262dbb76a6ea068000e71fdfe6fd06ee#egg=auditwheel
# curl -O https://nixos.org/releases/patchelf/patchelf-0.9/patchelf-0.9.tar.bz2 && tar -xjpf patchelf-*.tar.bz2 && cd patchelf* && ./configure > /dev/null && sudo make install > /dev/null && cd ..
# pypy3.5-6.0.0-linux_x86_64-portable/bin/pypy3 -m auditwheel repair wheelhouse/coincurve*.whl -w out
# fi
# Compile wheels
for PYBIN in /opt/python/*/bin; do
if [[ ${PYBIN} =~ (cp27|cp35|cp36|cp37) ]]; then
${PYBIN}/pip wheel /io/ -w wheelhouse/
${PYBIN}/pip wheel /io/ -w wheelhouse/
fi
done
# Adjust wheel tags
mkdir out
for whl in wheelhouse/coincurve*.whl; do
auditwheel repair $whl -w out
done

10
.travis/deploy.sh

@ -34,16 +34,6 @@ else
# Clean up build directories.
rm -fr dist_wheels/ fixed_wheels/
fi
if [[ "$TRAVIS_PYTHON_VERSION" == "pypy3" ]]; then
python -m pip install wheel
python setup.py bdist_wheel
python3 -m pip install wheel auditwheel pyelftools typing
wget -q https://nixos.org/releases/patchelf/patchelf-0.9/patchelf-0.9.tar.bz2 && tar -xjpf patchelf-*.tar.bz2 && cd patchelf* && ./configure > /dev/null && sudo make install > /dev/null && cd ..
auditwheel repair dist/coincurve*.whl
rm dist/coincurve*.whl
mv wheelhouse/coincurve*.whl dist
fi
fi
ls -l dist

6
.travis/install.sh

@ -9,9 +9,9 @@ if [[ $TRAVIS_OS_NAME == "osx" ]]; then
# We use the official python.org installers to make sure our wheels are
# going to be as widely compatible as possible
PYTHON_PKG_27="https://www.python.org/ftp/python/2.7.15/python-2.7.15-macosx10.6.pkg"
PYTHON_PKG_36="https://www.python.org/ftp/python/3.6.5/python-3.6.5-macosx10.6.pkg"
PYTHON_PKG_37="https://www.python.org/ftp/python/3.7.0/python-3.7.0-macosx10.6.pkg"
PYTHON_PKG_27="https://www.python.org/ftp/python/2.7.15/python-2.7.15-macosx10.9.pkg"
PYTHON_PKG_36="https://www.python.org/ftp/python/3.6.6/python-3.6.6-macosx10.9.pkg"
PYTHON_PKG_37="https://www.python.org/ftp/python/3.7.0/python-3.7.0-macosx10.9.pkg"
GET_PIP="https://bootstrap.pypa.io/get-pip.py"
# update brew

5
README.rst

@ -283,6 +283,11 @@ History
Important changes are emphasized.
9.0.0
^^^^^
- **Breaking:** Drop support for 32-bit macOS
8.0.2
^^^^^

Loading…
Cancel
Save