Installer vs py2exe: Windows DLLs
Gordon McMillan
gmcm at hypernet.com
Sat Jun 1 11:17:30 EDT 2002
Paul Moore wrote:
> When building a distribution for the same script using Gordon
> McMillan's Installer and py2exe, I notice that Installer includes
> PyWinTypes22.dll and win32api.pyd, whereas py2exe doesn't.
[snip]
> More to the point, in some ways, why does Installer think these files
> are needed? Is there some situation in which py2exe generated
> executables will fail because these files aren't there?
David's answer was 100% correct.
The specific call here is os.path.abspath(...). Before 2.2 and
without win32api, this simply examined its argument. In some
rare corner cases, it would yield an incorrect answer.
-- Gordon
http://www.mcmillan-inc.com/
More information about the Python-list
mailing list