Skip to content

📝 docs: document pipx.run entry point group#1745

Merged
gaborbernat merged 1 commit intopypa:mainfrom
gaborbernat:fix/docs-pipx-run-entry-point
Mar 18, 2026
Merged

📝 docs: document pipx.run entry point group#1745
gaborbernat merged 1 commit intopypa:mainfrom
gaborbernat:fix/docs-pipx-run-entry-point

Conversation

@gaborbernat
Copy link
Copy Markdown
Contributor

Package authors whose console script name differs from the package name have to tell users to run pipx run --spec PACKAGE SCRIPT. The pipx.run entry point group lets authors declare which function pipx run PACKAGE should invoke, avoiding the need for --spec. This feature has existed since v0.16.1.0 but was never documented.

Added pyproject.toml and setup.cfg examples to the making-packages-compatible explanation page, with build as a real-world reference. The run-applications tutorial now cross-references this section where it explains --spec usage.

Closes #1371

Package authors whose console script name differs from the package
name can declare a pipx.run entry point so that pipx run PACKAGE works
without --spec. Added pyproject.toml and setup.cfg examples to the
making-packages-compatible explanation page and a cross-reference from
the run-applications tutorial.
@gaborbernat gaborbernat enabled auto-merge (squash) March 18, 2026 22:01
@gaborbernat gaborbernat merged commit b8c831f into pypa:main Mar 18, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add documentation for [pipx.run] entry point

1 participant