diff --git a/README.md b/README.md index ca218b68..183fe2d9 100644 --- a/README.md +++ b/README.md @@ -75,15 +75,15 @@ env: # Note: TWINE_PASSWORD is set to a PyPI API token in Travis settings install: - - python -m pip install twine cibuildwheel==1.1.0 + - python3 -m pip install twine cibuildwheel==1.1.0 script: # build the wheels, put them into './wheelhouse' - - python -m cibuildwheel --output-dir wheelhouse + - python3 -m cibuildwheel --output-dir wheelhouse after_success: # if the release was tagged, upload them to PyPI - - if [[ $TRAVIS_TAG ]]; then python -m twine upload wheelhouse/*.whl; fi + - if [[ $TRAVIS_TAG ]]; then python3 -m twine upload wheelhouse/*.whl; fi ``` For more information, including how to build on Appveyor, Azure, CircleCI, check out the [documentation](https://cibuildwheel.readthedocs.org) and also check out [the examples](https://github.com/joerick/cibuildwheel/tree/master/examples). @@ -138,8 +138,8 @@ Changelog _7 December 2019_ -- ✨ Add support for building manylinux2014 wheels. To use, set - `CIBW_MANYLINUX_X86_64_IMAGE` and CIBW_MANYLINUX_I686_IMAGE to +- ✨ Add support for building manylinux2014 wheels. To use, set + `CIBW_MANYLINUX_X86_64_IMAGE` and CIBW_MANYLINUX_I686_IMAGE to `manylinux2014`. - ✨ Add support for [Linux on Appveyor](https://www.appveyor.com/blog/2018/03/06/appveyor-for-linux/) (#204, #207) - ✨ Add `CIBW_REPAIR_WHEEL_COMMAND` env variable, for changing how diff --git a/examples/appveyor-minimal.yml b/examples/appveyor-minimal.yml index b0503233..23f71e19 100644 --- a/examples/appveyor-minimal.yml +++ b/examples/appveyor-minimal.yml @@ -4,7 +4,7 @@ image: build_script: # windows - - cmd: pip install cibuildwheel==1.1.0 + - cmd: pip3 install cibuildwheel==1.1.0 - cmd: cibuildwheel --output-dir wheelhouse # linux - sh: "${HOME}/.localpython3.7.4/bin/python3 -m pip install cibuildwheel==1.1.0" diff --git a/examples/azure-pipelines-minimal.yml b/examples/azure-pipelines-minimal.yml index 567d6302..eac34c0a 100644 --- a/examples/azure-pipelines-minimal.yml +++ b/examples/azure-pipelines-minimal.yml @@ -4,8 +4,8 @@ jobs: steps: - task: UsePythonVersion@0 - bash: | - python -m pip install --upgrade pip - pip install cibuildwheel==1.1.0 + python3 -m pip install --upgrade pip + pip3 install cibuildwheel==1.1.0 cibuildwheel --output-dir wheelhouse . - task: PublishBuildArtifacts@1 inputs: {pathtoPublish: 'wheelhouse'} @@ -15,8 +15,8 @@ jobs: steps: - task: UsePythonVersion@0 - bash: | - python -m pip install --upgrade pip - pip install cibuildwheel==1.1.0 + python3 -m pip install --upgrade pip + pip3 install cibuildwheel==1.1.0 cibuildwheel --output-dir wheelhouse . - task: PublishBuildArtifacts@1 inputs: {pathtoPublish: 'wheelhouse'} @@ -28,8 +28,8 @@ jobs: - script: choco install vcpython27 -f -y displayName: Install Visual C++ for Python 2.7 - bash: | - python -m pip install --upgrade pip - pip install cibuildwheel==1.1.0 + python3 -m pip install --upgrade pip + pip3 install cibuildwheel==1.1.0 cibuildwheel --output-dir wheelhouse . - task: PublishBuildArtifacts@1 inputs: {pathtoPublish: 'wheelhouse'} diff --git a/examples/circleci-minimal.yml b/examples/circleci-minimal.yml index 053966d9..fd6c00e8 100644 --- a/examples/circleci-minimal.yml +++ b/examples/circleci-minimal.yml @@ -11,7 +11,7 @@ jobs: - run: name: Build the Linux wheels. command: | - pip install --user cibuildwheel==1.1.0 + pip3 install --user cibuildwheel==1.1.0 cibuildwheel --output-dir wheelhouse - store_artifacts: path: wheelhouse/ @@ -25,7 +25,7 @@ jobs: - run: name: Build the OS X wheels. command: | - pip install --user cibuildwheel==1.1.0 + pip3 install --user cibuildwheel==1.1.0 cibuildwheel --output-dir wheelhouse - store_artifacts: path: wheelhouse/ diff --git a/examples/travis-ci-deploy-only.yml b/examples/travis-ci-deploy-only.yml index 55f8339b..c8f9e5aa 100644 --- a/examples/travis-ci-deploy-only.yml +++ b/examples/travis-ci-deploy-only.yml @@ -23,12 +23,12 @@ env: # Note: TWINE_PASSWORD is set to a PyPI API token in Travis settings install: - - python -m pip install twine cibuildwheel==1.0.0 + - python3 -m pip install twine cibuildwheel==1.1.0 script: # build the wheels, put them into './wheelhouse' - - python -m cibuildwheel --output-dir wheelhouse + - python3 -m cibuildwheel --output-dir wheelhouse after_success: # if the release was tagged, upload them to PyPI - - if [[ $TRAVIS_TAG ]]; then python -m twine upload wheelhouse/*.whl; fi + - if [[ $TRAVIS_TAG ]]; then python3 -m twine upload wheelhouse/*.whl; fi diff --git a/examples/travis-ci-minimal.yml b/examples/travis-ci-minimal.yml index 95b4a8d7..30356762 100644 --- a/examples/travis-ci-minimal.yml +++ b/examples/travis-ci-minimal.yml @@ -24,8 +24,8 @@ jobs: - export PATH="/c/Python38:/c/Python38/Scripts:$PATH" install: - - python -m pip install cibuildwheel==1.1.0 + - python3 -m pip install cibuildwheel==1.1.0 script: # build the wheels, put them into './wheelhouse' - - python -m cibuildwheel --output-dir wheelhouse + - python3 -m cibuildwheel --output-dir wheelhouse diff --git a/examples/travis-ci-test-and-deploy.yml b/examples/travis-ci-test-and-deploy.yml index 006fe940..a7ef48e9 100644 --- a/examples/travis-ci-test-and-deploy.yml +++ b/examples/travis-ci-test-and-deploy.yml @@ -20,10 +20,10 @@ before_install: fi install: - - python -m pip install pytest + - python3 -m pip install pytest script: - - python setup.py install + - python3 setup.py install - pytest stages: @@ -46,31 +46,31 @@ jobs: - stage: deploy name: Deploy source distribution install: skip - script: python setup.py sdist --formats=gztar - after_success: python -m twine upload --skip-existing dist/*.tar.gz + script: python3 setup.py sdist --formats=gztar + after_success: python3 -m twine upload --skip-existing dist/*.tar.gz # Deploy on linux - stage: deploy name: Build and deploy Linux wheels services: docker - install: python -m pip install twine cibuildwheel==1.0.0 - script: python -m cibuildwheel --output-dir wheelhouse - after_success: python -m twine upload --skip-existing wheelhouse/*.whl + install: python3 -m pip install twine cibuildwheel==1.1.0 + script: python3 -m cibuildwheel --output-dir wheelhouse + after_success: python3 -m twine upload --skip-existing wheelhouse/*.whl # Deploy on mac - stage: deploy name: Build and deploy macOS wheels os: osx language: shell - install: python -m pip install twine cibuildwheel==1.0.0 - script: python -m cibuildwheel --output-dir wheelhouse - after_success: python -m twine upload --skip-existing wheelhouse/*.whl + install: python3 -m pip install twine cibuildwheel==1.1.0 + script: python3 -m cibuildwheel --output-dir wheelhouse + after_success: python3 -m twine upload --skip-existing wheelhouse/*.whl # Deploy on windows - stage: deploy name: Build and deploy Windows wheels os: windows language: shell - install: python -m pip install twine cibuildwheel==1.0.0 - script: python -m cibuildwheel --output-dir wheelhouse - after_success: python -m twine upload --skip-existing wheelhouse/*.whl + install: python3 -m pip install twine cibuildwheel==1.1.0 + script: python3 -m cibuildwheel --output-dir wheelhouse + after_success: python3 -m twine upload --skip-existing wheelhouse/*.whl env: global: