Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

DOC: Update the README.rst file for azure pipelines. #81

Merged
merged 1 commit into from
Apr 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 16 additions & 28 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,23 @@
Building and uploading numpy wheels
###################################

We automate wheel building using this custom github repository that builds on
the travis-ci OSX machines, travis-ci Linux machines, and the Appveyor VMs.
The wheel builds are currently done by Azure Pipelines. Options that may be
used for future builds are Travis CI and Appveyor. The progress and success of
builds may be monitored at the following locations:

The travis-ci interface for the builds is
Azure Pipelines at
https://dev.azure.com/numpy/numpy/_build?definitionId=8&_a=summary&view=runs

Travis CI at
https://travis-ci.org/MacPython/numpy-wheels

Appveyor interface at
The Appveyor at
https://ci.appveyor.com/project/matthew-brett/numpy-wheels

The driving github repository is
https://github.com/MacPython/numpy-wheels


How it works
============

Expand Down Expand Up @@ -82,9 +87,9 @@ called a `wheelhouse`. The typical call for `wheel-uploader` would then
be something like::

CDN_URL=https://anaconda.org/multibuild-wheels/staging/numpy/files
wheel-uploader -r warehouse -u $CDN_URL -s -v -w ~/wheelhouse -t macosx numpy 1.11.1
wheel-uploader -r warehouse -u $CDN_URL -s -v -w ~/wheelhouse -t manylinux1 numpy 1.11.1
wheel-uploader -r warehouse -u $CDN_URL -s -v -w ~/wheelhouse -t win numpy 1.11.1
wheel-uploader -r warehouse -u $CDN_URL -s -v -w ~/wheelhouse -t macosx numpy 1.19.0
wheel-uploader -r warehouse -u $CDN_URL -s -v -w ~/wheelhouse -t manylinux1 numpy 1.19.0
wheel-uploader -r warehouse -u $CDN_URL -s -v -w ~/wheelhouse -t win numpy 1.19.0

where:

Expand All @@ -98,28 +103,11 @@ where:
``~/wheelhouse``.

``numpy`` is the root name of the wheel(s) to download / upload, and
``1.11.1`` is the version to download / upload.

In order to use the Warehouse PyPI server, you will need something like this
in your ``~/.pypirc`` file::

[distutils]
index-servers =
pypi
warehouse

[pypi]
username:your_user_name
password:your_password

[warehouse]
repository: https://upload.pypi.io/legacy/
username: your_user_name
password: your_password
``1.19.0`` is the version to download / upload.

So, in this case, ``wheel-uploader`` will download all wheels starting with
``numpy-1.11.1-`` from http://wheels.scipy.org to ``~/wheelhouse``, then
upload them to PyPI.
So, in this case, ``wheel-uploader`` will download all wheels starting with ``numpy-1.19.0-``
from https://anaconda.org/multibuild-wheels/staging/numpy/files to ``~/wheelhouse``,
then upload them to PyPI.

Of course, you will need permissions to upload to PyPI, for this to work.

Expand Down