Re: [Py2exe-users] py2exe bundles and win32com.mapi.mapi
by Thomas Heller other posts by this author
Nov 22 2006 7:59AM messages near this date
Re: [Py2exe-users] py2exe bundles and win32com.mapi.mapi
|
[Py2exe-users] py2exe and 64-bit Python
Leonard Ritter schrieb:
> On Wed, 2006-11-22 at 12:40 +0100, Thomas Heller wrote:
> > I think that is because py2exe is bundling mapi32.dll as well into the zip-archive.
> >
> > mapi32.dll should probably be in the EXCLUDED_DLLS list in py2exe\build_exe.py,
> > as a workaround you can use the "--dll-excludes=mapi32.dll" command line switch.
> >
> > Does it work then for you? (it does for me, but I have only checked if I can
> > import win32com.mapi.mapi)
>
> Testing it right now. Many thanks! Seems to work.
>
> However I have a few other COM server plugins that do not seem to work.
>
> How can I see a list of binaries that is bundled? It doesn't seem as if
> the default output tells only about .pyc files included, but no dlls and
> pyds.
You can open the file containing the zip-archive with winzip, or use this script:
"""
# show_arc.py
import sys, zipfile, pprint
for path in sys.argv[1:]:
try:
z = zipfile.ZipFile(path)
except zipfile.error, details:
print path, ":", details
else:
print path
print "=" * 42
pprint.pprint(sorted(z.namelist()))
print
"""
Thomas
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Py2exe-users mailing list
Py2exe-users@[...].net
https://lists.sourceforge.net/lists/listinfo/py2exe-users
Thread:
Leonard "paniq" Ritter
Thomas Heller
Leonard Ritter
Thomas Heller
|