Remove unused Python modules from installer.

This commit is contained in:
Bastian Kleineidam 2012-05-19 08:13:07 +02:00
parent 132b811185
commit 25707e9e9a
1 changed files with 3 additions and 1 deletions

View File

@ -45,7 +45,9 @@ MyEmail = "calvin@users.sourceforge.net"
# py2exe options for windows .exe packaging
py2exe_options = dict(
packages=["encodings"],
excludes=['doctest', 'unittest', 'Tkinter', '_ssl', 'pdb', 'inspect'],
excludes=['doctest', 'unittest', 'Tkinter', '_ssl', 'pdb',
'email', 'calendar', 'ftplib', 'httplib', 'pickle', 'optparse',
'rfc822'],
# silence py2exe error about not finding msvcp90.dll
dll_excludes=['MSVCP90.dll'],
compressed=1,