10000 Update README · MacPython/matplotlib-wheels@1721580 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

Commit 1721580

Browse files
committed
Update README
[skip ci]
1 parent d1db48b commit 1721580

File tree

1 file changed

+31
-12
lines changed

1 file changed

+31
-12
lines changed

README.rst

Lines changed: 31 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -87,23 +87,42 @@ You will typically have a directory on your machine where you store wheels,
8787
called a `wheelhouse`. The typical call for `wheel-uploader` would then
8888
be something like::
8989

90-
wheel-uploader -v -w ~/wheelhouse -t macosx matplotlib 2.0.0
91-
wheel-uploader -v -w ~/wheelhouse -t manylinux1 matplotlib 2.0.0
92-
wheel-uploader -v -w ~/wheelhouse -t win matplotlib 2.0.0
90+
CDN_URL=https://3f23b170c54c2533c070-1c8a9b3114517dc5fe17b7c3f8c63a43.ssl.cf2.rackcdn.com
91+
wheel-uploader -r warehouse -u $CDN_URL -v -w ~/wheelhouse -t macosx matplotlib 2.0.0
92+
wheel-uploader -r warehouse -u $CDN_URL -v -w ~/wheelhouse -t manylinux1 matplotlib 2.0.0
9393

9494
where:
9595

96-
* `-v` means give verbose messages;
97-
* `-w ~/wheelhouse` means download the wheels from https://wheels.scipy.org to
98-
the directory `~/wheelhouse`;
99-
* `matplotlib` is the root name of the wheel(s) to download / upload;
100-
* `2.0.0` is the version to download / upload.
96+
* ``-v`` means give verbose messages;
97+
* ``-w ~/wheelhouse`` means download the wheels from https://wheels.scipy.org
98+
to the directory ``~/wheelhouse``;
99+
* ``-r warehouse`` uses the upcoming Warehouse PyPI server (it is more
100+
reliable than the current PyPI service for uploads);
101+
* ``matplotlib`` is the root name of the wheel(s) to download / upload;
102+
* ``2.0.0`` is the version to download / upload.
101103

102-
So, in this case, `wheel-uploader` will download all wheels starting with
103-
`matplotlib-2.0.0-` from http://wheels.scipy.org to `~/wheelhouse`, then upload
104-
them to pypi.
104+
In order to use the Warehouse PyPI server, you will need something like this
105+
in your ``~/.pypirc`` file::
105106

106-
Of course, you will need permissions to upload to pypi, for this to work.
107+
[distutils]
108+
index-servers =
109+
pypi
110+
warehouse
111+
112+
[pypi]
113+
username:your_user_name
114+
password:your_password
115+
116+
[warehouse]
117+
repository: https://upload.pypi.io/legacy/
118+
username: your_user_name
119+
password: your_password
120+
121+
So, in this case, ``wheel-uploader`` will download all wheels starting with
122+
``matplotlib-2.0.0-`` from http://wheels.scipy.org to ``~/wheelhouse``, then
123+
upload them to PyPI.
124+
125+
Of course, you will need permissions to upload to PyPI, for this to work.
107126

108127
.. _manylinux1: https://www.python.org/dev/peps/pep-0513
109128
.. _twine: https://pypi.python.org/pypi/twine

0 commit comments

Comments
 (0)
0