From 7e567664e75ce706c7ed671cc41847ba44ee3bc4 Mon Sep 17 00:00:00 2001 From: Bill Little Date: Sat, 27 Mar 2021 23:27:07 +0000 Subject: [PATCH] update docs pypi instructions --- docs/src/developers_guide/release.rst | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/docs/src/developers_guide/release.rst b/docs/src/developers_guide/release.rst index 666d66ec86..cf8dcc42cb 100644 --- a/docs/src/developers_guide/release.rst +++ b/docs/src/developers_guide/release.rst @@ -119,10 +119,19 @@ Build the source distribution and wheel from the Iris root directory:: This ``./dist`` directory should now be populated with the source archive ``.tar.gz`` file, and built distribution ``.whl`` file. -Sufficient maintainer privileges will be required to upload these artifacts -to `scitools-iris`_ on PyPI:: +Check that the package description will render properly on PyPI for each +of the built artifacts:: - > python -m twine upload --repository-url https://upload.pypi.org/legecy/ ./dist/* + > python -m twine check dist/* + +To list and check the contents of the binary wheel:: + + > python -m zipfile --list dist/*.whl + +If all seems well, sufficient maintainer privileges will be required to +upload these artifacts to `scitools-iris`_ on PyPI:: + + > python -m twine upload --repository-url https://upload.pypi.org/legecy/ dist/* Ensure that the artifacts are successfully uploaded and available on `scitools-iris`_ before creating a conda test environment to install Iris