How to make extensions available to hg
binary
#5985
Answered
by
gromgit
LucianU
asked this question in
Everyday usage
-
Output of
|
Beta Was this translation helpful? Give feedback.
Answered by
gromgit
Feb 26, 2025
Replies: 1 comment 4 replies
-
We follow PEP 668.:
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That puts it in Homebrew's externally-managed Python environment, so you could just
pip3 install <hg_ext_module>
, but of course that would "pollute" that environment.I'm neither Mercurial nor a Pythonista, but the fine Mercurial docs say that you can drop an extension pretty much anywhere, and just refer to it in
${HOMEBREW_PREFIX}/etc/mercurial/hg
, so it seems like you don't have to "pollute" the Homebrew Python environ…