Skip to content

Draft: pyproject: declare optional dependencies

The goal is to be able to run

pipx install mercurial[recommended]

to get the equivalent of

pipx install mercurial
pipx inject mercurial hg-git hg-evolve

Same for

uv tool install mercurial[full]

which would be the equivalent of

uv tool install mercurial --with hg-git --with hg-evolve

Edit: see the diff (!1153 (diffs)) for a better explanation of the proposed changes.

Edited by Pierre Augier

Merge request reports

Loading