@@ -34,52 +34,41 @@ The resulting wheels are therefore self-contained and do not need any external
34
34
dynamic libraries apart from those provided as standard by OSX / Linux as
35
35
defined by the manylinux standard.
36
36
37
- The ``.travis.yml `` file in this repository has a line containing the API key
38
- for the Rackspace container encrypted with an RSA key that is unique to the
39
- repository - see http://docs.travis-ci.com/user/encryption-keys. This
40
- encrypted key gives the travis build permission to upload to the Rackspace
41
- directory pointed to by http://wheels.scipy.org.
37
+ The ``azure/* `` files in this repository read a token stored in the Azure
38
+ Pipeline used to run the CI. This encrypted key gives Azure permission to
39
+ upload to the ananconda.org directories ``https://anaconda.org/<user>/numpy/ ``
40
+ where user is the ``ANACONDA_ORG `` value in the ``yml `` files.
42
41
43
42
Triggering a build
44
43
==================
45
44
46
- You will likely want to edit the ``.travis.yml `` and `` appveyor.yml `` files to
45
+ You will likely want to edit the ``azure/* `` files to
47
46
specify the ``BUILD_COMMIT `` before triggering a build - see below.
48
47
49
- You will need write permission to the github repository to trigger new builds
50
- on the travis-ci interface. Contact us on the mailing list if you need this.
48
+ You will need write permission to the github repository to trigger new builds.
49
+ Contact us on the mailing list if you need this.
51
50
52
51
You can trigger a build by:
53
52
54
53
* making a commit to the `numpy-wheels ` repository (e.g. with `git
55
54
commit --allow-empty `); or
56
- * clicking on the circular arrow icon towards the top right of the travis-ci
57
- page, to rerun the previous build.
58
-
59
- In general, it is better to trigger a build with a commit, because this makes
60
- a new set of build products and logs, keeping the old ones for reference.
61
- Keeping the old build logs helps us keep track of previous problems and
62
- successful builds.
55
+ * merging a pull request to the repo
63
56
64
57
Which numpy commit does the repository build?
65
58
===============================================
66
59
67
- The `numpy-wheels ` repository will build the commit specified in the
68
- ``BUILD_COMMIT `` at the top of the ``.travis.yml `` and ``appveyor.yml `` files.
69
- This can be any naming of a commit, including branch name, tag name or commit
70
- hash.
60
+ PRs merged to this repo from a fork, and PRs directly pushed to this repo
61
+ will build the commit specified in the ``BUILD_COMMIT `` at the top of the
62
+ ``azure/windows.yml `` and ``azure/posix.yml `` files, the wheels will be
63
+ uploaded to https://anaconda.org/multibuild-wheels-staging/numpy. The
64
+ ``NIGHTLY_BUILD_COMMIT `` will be built once a week (sorry for the misnomer),
65
+ and uploaded to https://anaconda.org/scipy-wheels-nightly/.
66
+ The value of ``BUILD_COMMIT `` can be any naming of a commit, including branch
67
+ name, tag name or commit hash.
71
68
72
69
Uploading the built wheels to pypi
73
70
==================================
74
71
75
- Be careful, http://wheels.scipy.org points to a container on a distributed
76
- content delivery network. It can take up to 15 minutes for the new wheel file
77
- to get updated into the container at http://wheels.scipy.org.
78
-
79
- The same contents appear at
80
- https://3f23b170c54c2533c070-1c8a9b3114517dc5fe17b7c3f8c63a43.ssl.cf2.rackcdn.com;
81
- you might prefer this address because it is https.
82
-
83
72
When the wheels are updated, you can download them to your machine manually,
84
73
and then upload them manually to pypi, or by using twine _. You can also use a
85
74
script for doing this, housed at :
@@ -92,7 +81,7 @@ You will typically have a directory on your machine where you store wheels,
92
81
called a `wheelhouse `. The typical call for `wheel-uploader ` would then
93
82
be something like::
94
83
95
- CDN_URL=https://3f23b170c54c2533c070-1c8a9b3114517dc5fe17b7c3f8c63a43.ssl.cf2.rackcdn.com
84
+ CDN_URL=https://anaconda.org/multibuild-wheels/staging/numpy/files
96
85
wheel-uploader -r warehouse -u $CDN_URL -s -v -w ~/wheelhouse -t macosx numpy 1.11.1
97
86
wheel-uploader -r warehouse -u $CDN_URL -s -v -w ~/wheelhouse -t manylinux1 numpy 1.11.1
98
87
wheel-uploader -r warehouse -u $CDN_URL -s -v -w ~/wheelhouse -t win numpy 1.11.1
0 commit comments