Skip to content

Explain where to run the packaging tutorial commands - #2204

Merged
rgommers merged 3 commits into
python:mainfrom
Lazarus-coder:docs/terminal-before-pip
Dec 4, 2026
Merged

rgommers merged 3 commits into
python:mainfrom
Lazarus-coder:docs/terminal-before-pip

Conversation

@Lazarus-coder

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

Copy link
Copy Markdown
Contributor

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?

Comment thread source/tutorials/packaging-projects.rst Resolved

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

LGTM now

@rgommers
rgommers enabled auto-merge (squash) December 4, 2026 09:17
@rgommers
rgommers merged commit 3f4ce34 into python:main Dec 4, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: tutorials type: maintenance Regular maintenance of the guide, CI and repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants