Merge pull request #279 from joerick/fix-266
Change twine references to be immediately preceded by pip install in examples
This commit is contained in:
@@ -75,7 +75,7 @@ env:
|
|||||||
# Note: TWINE_PASSWORD is set to a PyPI API token in Travis settings
|
# Note: TWINE_PASSWORD is set to a PyPI API token in Travis settings
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- python3 -m pip install twine cibuildwheel==1.1.0
|
- python3 -m pip install cibuildwheel==1.1.0
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# build the wheels, put them into './wheelhouse'
|
# build the wheels, put them into './wheelhouse'
|
||||||
@@ -83,7 +83,11 @@ script:
|
|||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
# if the release was tagged, upload them to PyPI
|
# if the release was tagged, upload them to PyPI
|
||||||
- if [[ $TRAVIS_TAG ]]; then python3 -m twine upload wheelhouse/*.whl; fi
|
- |
|
||||||
|
if [[ $TRAVIS_TAG ]]; then
|
||||||
|
python3 -m pip install twine
|
||||||
|
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).
|
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).
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ env:
|
|||||||
# Note: TWINE_PASSWORD is set to a PyPI API token in Travis settings
|
# Note: TWINE_PASSWORD is set to a PyPI API token in Travis settings
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- python3 -m pip install twine cibuildwheel==1.1.0
|
- python3 -m pip install cibuildwheel==1.1.0
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# build the wheels, put them into './wheelhouse'
|
# build the wheels, put them into './wheelhouse'
|
||||||
@@ -31,4 +31,8 @@ script:
|
|||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
# if the release was tagged, upload them to PyPI
|
# if the release was tagged, upload them to PyPI
|
||||||
- if [[ $TRAVIS_TAG ]]; then python3 -m twine upload wheelhouse/*.whl; fi
|
- |
|
||||||
|
if [[ $TRAVIS_TAG ]]; then
|
||||||
|
python3 -m pip install twine
|
||||||
|
python3 -m twine upload wheelhouse/*.whl
|
||||||
|
fi
|
||||||
|
|||||||
@@ -47,30 +47,38 @@ jobs:
|
|||||||
name: Deploy source distribution
|
name: Deploy source distribution
|
||||||
install: skip
|
install: skip
|
||||||
script: python3 setup.py sdist --formats=gztar
|
script: python3 setup.py sdist --formats=gztar
|
||||||
after_success: python3 -m twine upload --skip-existing dist/*.tar.gz
|
after_success: |
|
||||||
|
python3 -m pip install twine
|
||||||
|
python3 -m twine upload --skip-existing dist/*.tar.gz
|
||||||
# Deploy on linux
|
# Deploy on linux
|
||||||
- stage: deploy
|
- stage: deploy
|
||||||
name: Build and deploy Linux wheels
|
name: Build and deploy Linux wheels
|
||||||
services: docker
|
services: docker
|
||||||
install: python3 -m pip install twine cibuildwheel==1.1.0
|
install: python3 -m pip install cibuildwheel==1.1.0
|
||||||
script: python3 -m cibuildwheel --output-dir wheelhouse
|
script: python3 -m cibuildwheel --output-dir wheelhouse
|
||||||
after_success: python3 -m twine upload --skip-existing wheelhouse/*.whl
|
after_success: |
|
||||||
|
python3 -m pip install twine
|
||||||
|
python3 -m twine upload --skip-existing wheelhouse/*.whl
|
||||||
# Deploy on mac
|
# Deploy on mac
|
||||||
- stage: deploy
|
- stage: deploy
|
||||||
name: Build and deploy macOS wheels
|
name: Build and deploy macOS wheels
|
||||||
os: osx
|
os: osx
|
||||||
language: shell
|
language: shell
|
||||||
install: python3 -m pip install twine cibuildwheel==1.1.0
|
install: python3 -m pip install cibuildwheel==1.1.0
|
||||||
script: python3 -m cibuildwheel --output-dir wheelhouse
|
script: python3 -m cibuildwheel --output-dir wheelhouse
|
||||||
after_success: python3 -m twine upload --skip-existing wheelhouse/*.whl
|
after_success: |
|
||||||
|
python3 -m pip install twine
|
||||||
|
python3 -m twine upload --skip-existing wheelhouse/*.whl
|
||||||
# Deploy on windows
|
# Deploy on windows
|
||||||
- stage: deploy
|
- stage: deploy
|
||||||
name: Build and deploy Windows wheels
|
name: Build and deploy Windows wheels
|
||||||
os: windows
|
os: windows
|
||||||
language: shell
|
language: shell
|
||||||
install: python3 -m pip install twine cibuildwheel==1.1.0
|
install: python3 -m pip install cibuildwheel==1.1.0
|
||||||
script: python3 -m cibuildwheel --output-dir wheelhouse
|
script: python3 -m cibuildwheel --output-dir wheelhouse
|
||||||
after_success: python3 -m twine upload --skip-existing wheelhouse/*.whl
|
after_success: |
|
||||||
|
python3 -m pip install twine
|
||||||
|
python3 -m twine upload --skip-existing wheelhouse/*.whl
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
|||||||
Reference in New Issue
Block a user