Learned a few things today, mostly about py2exe (which usually means
I'm having a bad day).

1) hgproc.exe.log and the accompanying popup dialog at exit were
"features" of py2exe.  The method I use in crew to work around those
windows happens to be the recommended recourse for the problem.  Go
figure.

2) this link was helpful, explaining what the -b argument to py2exe
does:   http://www.py2exe.org/old/
(scroll down to the 'Bundle Option')

3) using python setup py2exe -b2 moves everything _but_ python25.dll
into the library.zip, and the resulting library.zip is readable by
standard Windows explorer.

4) using python setup py2exe -b1 moves python25.dll into library.zip
at the cost of using a format that windows does not understand (nor do
7zip or winrar).

5) the crashes in shlib when -b1 or -b2 were used had nothing to do
with DLLs, but were caused by some strange side-effect between pywin32
and demandimport.  Adding win32com.shell to the demandimport blacklist
fixes the problem.  It seems that py2win32 can't find it's compiled
extensions in the library.zip if demandimport is used. Mark H, you
still around?  Any idea why this is?

So now I'm debating on whether to use -b1 or -b2 for the 0.8 release
installer.  It's a trade-off between hackability and eliminating the
potential for interoperability issues.   For people who are building
their own installers, I recommend you use -b2 or -b3 for them so you
can replace files in library.zip as you need.

I hope to fix all the source install issues this weekend, so this
bundle issue should only bother people like me that regularly build
installers.

TortoiseHg-090514 is in the usual location.

--
Steve

PS1: I've stopped bundling extra themes in the crew installers
PS2: There's been some large Windows performance improvements made on
the tip of Mercurial in the last couple of weeks.  These crew builds
have those changes in them.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Tortoisehg-discuss mailing list
Tortoisehg-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to