diff --git a/circle.yml b/circle.yml index 7a91b70d..d1a9db35 100644 --- a/circle.yml +++ b/circle.yml @@ -242,25 +242,25 @@ jobs: working_directory: ~/project/dist command: | find -name '*linux_x86_64.whl' -exec auditwheel repair {} \; - - store_artifacts: - path: ~/project/dist - destination: dist - run: name: "Select Python" command: | - echo 'export PATH=/opt/python/cp39-cp39/bin:$PATH' >> $BASH_ENV + echo 'export PATH=/opt/python/cp310-cp310/bin:$PATH' >> $BASH_ENV source $BASH_ENV python --version pip --version + - run: + name: "Build source dist" + command: ./setup.py sdist + - store_artifacts: + path: ~/project/dist + destination: dist - run: name: "Install libffi" command: apt -q update && apt -qy install libffi-dev - run: name: "Install CMake" command: pip install cmake - - run: - name: "Build source dist" - command: ./setup.py sdist - run: name: "Build wheel with CMake build" command: ./setup.py bdist_wheel diff --git a/scripts/ci/python_build_wheels.sh b/scripts/ci/python_build_wheels.sh index 45c4f209..5daa891b 100755 --- a/scripts/ci/python_build_wheels.sh +++ b/scripts/ci/python_build_wheels.sh @@ -8,10 +8,10 @@ set -eo pipefail if [ -n "$APPVEYOR" ]; then - PYTHON_PATHS="/c/Python39-x64:/c/Python39-x64/Scripts /c/Python38-x64:/c/Python38-x64/Scripts /c/Python37-x64:/c/Python37-x64/Scripts" + PYTHON_PATHS="/c/Python310-x64:/c/Python310-x64/Scripts /c/Python39-x64:/c/Python39-x64/Scripts /c/Python38-x64:/c/Python38-x64/Scripts /c/Python37-x64:/c/Python37-x64/Scripts" elif [ -n "$CIRCLECI" ]; then if [ "$OSTYPE" = "linux-gnu" ]; then - PYTHON_PATHS="/opt/python/cp39-cp39/bin /opt/python/cp38-cp38/bin /opt/python/cp37-cp37m/bin /opt/python/cp36-cp36m/bin" + PYTHON_PATHS="/opt/python/cp310-cp310/bin /opt/python/cp39-cp39/bin /opt/python/cp38-cp38/bin /opt/python/cp37-cp37m/bin /opt/python/cp36-cp36m/bin" else # The continuation of the script expects "python" executable name, # so make link python -> python3.