Skip to content

contrib: extract the hgext index generation from setup.py

Matt Harbison requested to merge topic/default/hgext-index into branch/default

This puts __index__.pyc in library.zip like before. , but for some reason hg help -e relink doesn't print a summary like it did before the setup.py changes. Still investigating. I also need to look at what PyOxidizer is doing, but I happened to have an old one installed (6.6.1) on my system, and it doesn't have an hgext/__index__ at all.

It also stops printing an error for displaying the help of a disabled extension with py2exe packaging, which has been broken since 5.4. Modern PyOxidizer builds aren't affected, since the *.py files life in the filesystem, instead of being packed in the executable itself.

Edited by Matt Harbison

Merge request reports

Loading