From 25707e9e9ad1f6da0c9927995a286fd1837b087b Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Sat, 19 May 2012 08:13:07 +0200 Subject: [PATCH] Remove unused Python modules from installer. --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 864e008..95b7e68 100644 --- a/setup.py +++ b/setup.py @@ -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,