diff --git a/docs/src/developers_guide/release.rst b/docs/src/developers_guide/release.rst index bae77a7d21..4b14876371 100644 --- a/docs/src/developers_guide/release.rst +++ b/docs/src/developers_guide/release.rst @@ -138,7 +138,7 @@ To do this perform the following steps. Create a conda environment with the appropriate conda packages to build the source distribution (``sdist``) and pure Python wheel (``bdist_wheel``):: - > conda create -n iris-pypi -c conda-forge --yes pip python setuptools twine wheel + > conda create -n iris-pypi -c conda-forge --yes build twine > . activate iris-pypi Checkout the appropriate Iris ```` tag from the appropriate ````. @@ -149,7 +149,7 @@ For example, to checkout tag ``v1.0`` from ``upstream``:: Build the source distribution and wheel from the Iris root directory:: - > python setup.py sdist bdist_wheel + > python -m build This ``./dist`` directory should now be populated with the source archive ``.tar.gz`` file, and built distribution ``.whl`` file. @@ -175,7 +175,6 @@ from PyPI:: > conda deactivate > conda env create --file ./requrements/ci/iris.yml > . activate iris-dev - > conda install -c conda-forge pip > python -m pip install --no-deps scitools-iris For further details on how to test Iris, see :ref:`developer_running_tests`.