RFC: Alternative for exemaker

Adrian Buehlmann adrian at cadifra.com
Thu Jun 28 18:28:18 CDT 2012


On 2012-06-29 01:03, Mads Kiilerich wrote:
> Matt Mackall wrote, On 06/27/2012 03:00 AM:
>> My only concern with using this for HackableMercurial is how it will 
>> find the Python DLL we ship. 
> 
> I think we will need something similar to how exemaker parses the first 
> '#!' line of the py script and uses it find the DLL. That would also 
> help us cover the 'hackable' use case where Python isn't installed in 
> PATH but hg.exe somehow is.

What's the problem with having the pythonXX.dll next to the exe?

For the record: exewrapper is implicitly following the normal Windows
dll rules and thus a globally installed python27.dll in
C:\Windows\system32 is found - not like exemaker which didn't even find
that, unless it was explicitly stated in the #! line of the python
script (which thusly required to edit the hg file).





More information about the Mercurial-devel mailing list