From 562d81c6ea07b77186e810673817ac023fd9fc27 Mon Sep 17 00:00:00 2001 From: Yannick Jadoul Date: Tue, 2 Jun 2020 12:03:06 +0200 Subject: [PATCH] Add links to the PyPI deployment examples to the docs --- docs/deliver-to-pypi.md | 2 +- docs/setup.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/deliver-to-pypi.md b/docs/deliver-to-pypi.md index 15d2317e..4d351f25 100644 --- a/docs/deliver-to-pypi.md +++ b/docs/deliver-to-pypi.md @@ -33,4 +33,4 @@ Obviously, manual steps are for chumps, so we can automate this a little by usin If you don't need much control over the release of a package, you can set up cibuildwheel to deliver the wheels straight to PyPI. This doesn't require anycloud storage to work - you just need to bump the version and tag it. -Check out [this example repo](https://github.com/joerick/cibuildwheel-autopypi-example) for instructions on how to set this up. +[`examples/travis-deploy-only.yml`](https://github.com/joerick/cibuildwheel/blob/master/examples/travis-deploy-only.yml) and [`examples/github-deploy-only.yml`](https://github.com/joerick/cibuildwheel/blob/master/examples/travis-deploy-only.yml) are example configurations that automatocially upload wheels to PyPI. Also check out [this example repo](https://github.com/joerick/cibuildwheel-autopypi-example) for more detailed instructions on how to set this up. diff --git a/docs/setup.md b/docs/setup.md index f8b201ed..1e29f94d 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -15,6 +15,8 @@ Commit this file, and push to Github - either to your default branch, or to a PR For more info on this file, check out the [docs](https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions). +[`examples/github-deploy-only.yml`](https://github.com/joerick/cibuildwheel/blob/master/examples/github-deploy-only.yml) extends this minimal example with a demonstration of how to automatically upload the built wheels to PyPI. + # Azure Pipelines [linux/mac/windows] {: #azure-pipelines} To build Linux, Mac, and Windows wheels on Azure Pipelines, create a `azure-pipelines.yml` file in your repo. @@ -46,6 +48,8 @@ Commit this file, enable building of your repo on Travis CI, and push. Then setup a deployment method by following the [Travis CI deployment docs](https://docs.travis-ci.com/user/deployment/), or see [Delivering to PyPI](deliver-to-pypi.md). For more info on `.travis.yml`, check out the [docs](https://docs.travis-ci.com/). +[`examples/travis-deploy-only.yml`](https://github.com/joerick/cibuildwheel/blob/master/examples/travis-deploy-only.yml) extends this minimal example with a demonstration of how to automatically upload the built wheels to PyPI. + # CircleCI [linux/mac] {: #circleci} To build Linux and Mac wheels on CircleCI, create a `.circleci/config.yml` file in your repo,