File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -250,15 +250,18 @@ day), generate the tarball ::
250
250
git clean -xfd
251
251
python setup.py sdist
252
252
253
- and copy all of the wheels into :file: `dist ` directory. You should use
254
- ``twine `` to upload all of the files to pypi ::
253
+ and copy all of the wheels into :file: `dist ` directory. First, check
254
+ that the dist files are OK ::
255
+
256
+ twine check dist/*
257
+
258
+ and then use ``twine `` to upload all of the files to pypi ::
255
259
256
260
twine upload -s dist/matplotlib*tar.gz
257
261
twine upload dist/*whl
258
262
259
263
Congratulations, you have now done the second scariest part!
260
264
261
- Additionally, for a final release, upload all of the files to sourceforge.
262
265
263
266
.. _release_docs :
264
267
@@ -272,8 +275,7 @@ build the docs from the ``ver-doc`` branch. An easy way to arrange this is::
272
275
pip install -r requirements/doc/doc-requirements.txt
273
276
git checkout v2.0.0-doc
274
277
git clean -xfd
275
- cd doc
276
- make O=-n$(nproc) html latexpdf
278
+ make -Cdoc O=-j$(nproc) html latexpdf LATEXMKOPTS="-silent -f"
277
279
278
280
which will build both the html and pdf version of the documentation.
279
281
You can’t perform that action at this time.
0 commit comments