Skip to content

Explain where to run the packaging tutorial commands - #2204

Open
Lazarus-coder wants to merge 1 commit into
pypa:mainfrom
Lazarus-coder:docs/terminal-before-pip
Open

Lazarus-coder wants to merge 1 commit into
pypa:mainfrom
Lazarus-coder:docs/terminal-before-pip

Conversation

@Lazarus-coder

@Lazarus-coder Lazarus-coder commented Nov 23, 2026 •

Copy link
Copy Markdown

Readers arriving from the Python interactive interpreter can encounter a syntax error on the tutorial's first pip command. The new paragraph identifies the >>> prompt, names a terminal to open on macOS or Windows, and links to the existing command-line prerequisites.

The Sphinx HTML build passed with warnings treated as errors. The rendered link resolves to the prerequisites and appears above both platform-specific pip commands.

Addresses #745. Prepared and checked with OpenAI Codex.


📚 Documentation preview 📚: https://python-packaging-user-guide--2204.org.readthedocs.build/en/2204/

@rgommers rgommers left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Lazarus-coder. This is mostly right and should close #745; can you please look at the one review comment?

.. _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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should either say Command Prompt in Windows (because where there's a difference, like envrionment activation, this guide uses Command Prompt compatible commands), or leave it out complete. I have a preference for the latter. If a reader doesn't know what a terminal is, let them figure it out by following the link or searching for themselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants