Loading in-process hooks under Windows

Dirkjan Ochtman dirkjan at ochtman.nl
Thu Aug 6 01:47:13 CDT 2009


On Thu, Aug 6, 2009 at 06:56, Steve Borho<steve at borho.org> wrote:
> does work in a binary installer.  Would it be ok to put some 'if
> sys.frozen' type code in hook.py, or would it be cleaner to have some
> formal mechanism for adding paths to sys.path via an hgrc file?  The
> normal method for manipulating sys.path (PYTHONPATH) is crippled by
> py2exe.

I'd prefer the former (put the complexity in hook.py, not in the hgrc
where users have to deal with it).

Cheers,

Dirkjan



More information about the Mercurial-devel mailing list