@@ -87,23 +87,42 @@ You will typically have a directory on your machine where you store wheels,
87
87
called a `wheelhouse `. The typical call for `wheel-uploader ` would then
88
88
be something like::
89
89
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
93
93
94
94
where:
95
95
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.
101
103
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::
105
106
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.
107
126
108
127
.. _manylinux1 : https://www.python.org/dev/peps/pep-0513
109
128
.. _twine : https://pypi.python.org/pypi/twine
0 commit comments