##// END OF EJS Templates
packaging: move Inno Setup core logic into a module...
packaging: move Inno Setup core logic into a module Aspects of building the Inno Setup and WIX installers are shared. It will make sense for them to share code. Plus, having code in a reusable library (as opposed to a standalone script) is just a better approach. This commit moves the core logic to build the Inno Setup installer into the hgpackaging package. inno/build.py is now a simple frontend script that calls into a module to do the bulk of the work. As part of this change, I also found a typo in build() where it was referencing "iscc" instead of "iscc_exe." Because "iscc" was in the global scope via the only caller, things just happened to work before. Another benefit of always using functions and not putting global code for __main__ in the same file as library code. Differential Revision: https://phab.mercurial-scm.org/D6087

File last commit:

r42020:7a1433e9 default
r42077:dc7827a9 default
Show More
requirements.txt.in
4 lines | 34 B | text/plain | TextLexer
docutils
dulwich
keyring
pygments