From 83e50ba4a28baff5275f8a7914740a142e28ded4 Mon Sep 17 00:00:00 2001 From: Ryan May Date: Mon, 9 Sep 2024 12:51:54 -0600 Subject: [PATCH] DOC: Update infrastructure guide to remove setup.py Some of this was already outdated by the move to pyproject.toml, but now there's no setup.py. --- docs/devel/infrastructureguide.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/devel/infrastructureguide.rst b/docs/devel/infrastructureguide.rst index add26dd622..4012cfc7fe 100644 --- a/docs/devel/infrastructureguide.rst +++ b/docs/devel/infrastructureguide.rst @@ -118,10 +118,10 @@ To build and upload manually (if for some reason it is necessary): 2. (optional) Perform a ``git clean -f -x -d`` from the root of the repository. This will **delete** everything not tracked by git, but will also ensure clean source distribution. ``MANIFEST.in`` is set to include/exclude mostly correctly, but could miss some things. -3. Run ``python setup.py sdist bdist_wheel`` (this requires that ``wheel`` is installed). +3. Run ``python -m build`` (this requires that ``build`` is installed). 4. Upload using ``twine``: ``twine upload dist/*``, assuming the ``dist/`` directory contains only files for this release. This upload process will include any changes to the ``README`` - as well as any updated flags from ``setup.py``. + as well as any updated flags from ``pyproject.toml``. ~~~~~ Conda