diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 04865eb..0000000 --- a/.travis.yml +++ /dev/null @@ -1,16 +0,0 @@ -language: generic - -jobs: - include: - - os: linux - language: python - services: - - docker - script: - - ./make/manylinux1/build_wheels.sh - - os: osx - osx_image: xcode9.4 - script: - - ./make/osx/build_wheels.sh -install: - - if [ "${TRAVIS_OS_NAME:-}" == "osx" ]; then ./make/osx/install_python.sh; fi diff --git a/README.rst b/README.rst index 8c3f077..3ce4978 100644 --- a/README.rst +++ b/README.rst @@ -1,9 +1,6 @@ wolfcrypt: the wolfSSL Crypto Engine ==================================== -.. image:: https://travis-ci.org/wolfSSL/wolfcrypt-py.svg?branch=master - :target: https://travis-ci.org/wolfSSL/wolfcrypt-py - **wolfCrypt Python**, a.k.a. ``wolfcrypt`` is a Python module that encapsulates **wolfSSL's wolfCrypt API**. diff --git a/make/manylinux1/build.sh b/make/manylinux1/build.sh deleted file mode 100755 index 37422f4..0000000 --- a/make/manylinux1/build.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash -set -e -x - -# preserve dist -if [ -d dist ]; then mv dist tmpdist; fi - -# Compile wheels -for PYBIN in /opt/python/*/bin; do - "${PYBIN}/python" setup.py bdist_wheel - rm -rf .eggs -done - -# Bundle external shared libraries into the wheels -for whl in dist/*.whl; do - auditwheel repair "$whl" -w tmpdist/ -done - -# restore dist -rm -rf dist && mv tmpdist dist - -# Install packages and test -for PYBIN in /opt/python/*/bin/; do - "${PYBIN}/pip" install -r requirements/test.txt - "${PYBIN}/pip" install wolfcrypt --no-index -f dist - rm -rf tests/__pycache__ - "${PYBIN}/py.test" tests -done diff --git a/make/manylinux1/build_wheels.sh b/make/manylinux1/build_wheels.sh deleted file mode 100755 index e836814..0000000 --- a/make/manylinux1/build_wheels.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -set -e -set -x - -docker run \ - --rm \ - -v `pwd`:/wolfcrypt-py \ - -w /wolfcrypt-py \ - wolfssl/manylinux1-x86_64 \ - bash -c "make/manylinux1/build.sh" diff --git a/make/osx/build_wheels.sh b/make/osx/build_wheels.sh deleted file mode 100755 index bd57d45..0000000 --- a/make/osx/build_wheels.sh +++ /dev/null @@ -1,28 +0,0 @@ -set -e -set +x - -for VER in 3.7 3.8; do - PIP="pip${VER}" - PYTHON="python${VER}" - VENV="venv_${VER}" - PATH="/Library/Frameworks/Python.framework/Versions/${VER}/bin:$PATH" - - # update pip for newer TLS support - curl https://bootstrap.pypa.io/get-pip.py | ${PYTHON} - ${PIP} install -r requirements/setup.txt - - # update virtualenv - ${PIP} install --upgrade virtualenv - virtualenv -p ${PYTHON} ${VENV} - . ./${VENV}/bin/activate - - ${PYTHON} setup.py bdist_wheel - ${PIP} install -r requirements/test.txt - set +e - ${PIP} uninstall -y wolfcrypt - set -e - ${PIP} install wolfcrypt --no-index -f dist - rm -rf tests/__pycache__ - py.test tests - deactivate -done diff --git a/make/osx/install_python.sh b/make/osx/install_python.sh deleted file mode 100755 index 15cb051..0000000 --- a/make/osx/install_python.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -set -euo pipefail -set -x - -URLS=( - 'https://www.python.org/ftp/python/3.7.9/python-3.7.9-macosx10.9.pkg' - 'https://www.python.org/ftp/python/3.8.6/python-3.8.6-macosx10.9.pkg' -) - -for url in "${URLS[@]}"; do - curl -Lo /tmp/python.pkg "$url" - sudo installer -pkg /tmp/python.pkg -target / -done