Page MenuHomePhabricator

extensions: make `hg help extensions` list disabled extensions with PyOxidizer
ClosedPublic

Authored by martinvonz on Jul 16 2020, 1:57 AM.

Details

Summary

setup.py has a mechanism for generating a list of bundled extensions
and their documenation and putting it in a hgext/__index__.py
file. That file is then read from extensions.py, which makes `hg
help extensions` work in py2exe binaries. This patch makes it so
setup.py produces the hgext/__index__.py file also when called by
PyOxidizer.

Thanks to Matt Harbison for pointing out the existence of
__index__.py!

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

martinvonz created this revision.Jul 16 2020, 1:57 AM
marmoute accepted this revision.Jul 16 2020, 6:11 AM
marmoute added a subscriber: marmoute.

Sounds good.

pulkit accepted this revision.Jul 16 2020, 9:47 AM
This revision is now accepted and ready to land.Jul 16 2020, 9:47 AM