From 5b37038421cc29ee135b63b8957588473a8306bc Mon Sep 17 00:00:00 2001 From: Lazarus-coder <102198500+Lazarus-coder@users.noreply.github.com> Date: Mon, 23 Nov 2026 20:57:56 +0800 Subject: [PATCH 1/2] Explain where to run the packaging tutorial commands --- source/tutorials/packaging-projects.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/tutorials/packaging-projects.rst b/source/tutorials/packaging-projects.rst index 8cf9f13b2..6be45e4c8 100644 --- a/source/tutorials/packaging-projects.rst +++ b/source/tutorials/packaging-projects.rst @@ -15,6 +15,11 @@ to build the package, and how to upload it to the Python Package Index (PyPI). .. _packaging-problems: https://github.com/pypa/packaging-problems +If you see the ``>>>`` prompt, you're in Python's interactive interpreter. +Open a terminal, such as Terminal on macOS or PowerShell on Windows, to run the +commands in the platform tabs below. See :ref:`installing_requirements` for +help running Python from the command line. + Some of the commands require a newer version of :ref:`pip`, so start by making sure you have the latest version installed: From cbbee67ca4ef48d68a365fd672ee2db14adeb504 Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Fri, 4 Dec 2026 10:15:29 +0100 Subject: [PATCH 2/2] Remove mention of PowerShell and Terminal, shorten note --- source/tutorials/packaging-projects.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/tutorials/packaging-projects.rst b/source/tutorials/packaging-projects.rst index 6be45e4c8..9286ebea6 100644 --- a/source/tutorials/packaging-projects.rst +++ b/source/tutorials/packaging-projects.rst @@ -16,9 +16,8 @@ to build the package, and how to upload it to the Python Package Index (PyPI). .. _packaging-problems: https://github.com/pypa/packaging-problems If you see the ``>>>`` prompt, you're in Python's interactive interpreter. -Open a terminal, such as Terminal on macOS or PowerShell on Windows, to run the -commands in the platform tabs below. See :ref:`installing_requirements` for -help running Python from the command line. +Open a terminal to run the commands in the platform tabs below. See +:ref:`installing_requirements` for help running Python from the command line. Some of the commands require a newer version of :ref:`pip`, so start by making sure you have the latest version installed: