Skip to content

Commit 0d7e3cb

Browse files
authored
refresh manual pypi publish instructions (#5252)
1 parent b0808e0 commit 0d7e3cb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/src/developers_guide/release.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ To do this perform the following steps.
138138
Create a conda environment with the appropriate conda packages to build the
139139
source distribution (``sdist``) and pure Python wheel (``bdist_wheel``)::
140140

141-
> conda create -n iris-pypi -c conda-forge --yes pip python setuptools twine wheel
141+
> conda create -n iris-pypi -c conda-forge --yes build twine
142142
> . activate iris-pypi
143143

144144
Checkout the appropriate Iris ``<release>`` tag from the appropriate ``<repo>``.
@@ -149,7 +149,7 @@ For example, to checkout tag ``v1.0`` from ``upstream``::
149149

150150
Build the source distribution and wheel from the Iris root directory::
151151

152-
> python setup.py sdist bdist_wheel
152+
> python -m build
153153

154154
This ``./dist`` directory should now be populated with the source archive
155155
``.tar.gz`` file, and built distribution ``.whl`` file.
@@ -175,7 +175,6 @@ from PyPI::
175175
> conda deactivate
176176
> conda env create --file ./requrements/ci/iris.yml
177177
> . activate iris-dev
178-
> conda install -c conda-forge pip
179178
> python -m pip install --no-deps scitools-iris
180179

181180
For further details on how to test Iris, see :ref:`developer_running_tests`.

0 commit comments

Comments
 (0)