Hi,
On 28/01/2014 17:01, Nouvelle Collection wrote:
> Indeed, the problem is solved by using 'excludes' like this :
>
> from distutils.core import setup
> import py2exe
> setup(script_args = ['py2exe'],
> windows=[{'script':'ScaledBitmap2Demo.py'}], options = {'py2exe':
> {'compressed':1,'bundle_files': 1,'excludes': ['Tkconstants',
> 'Tkinter']}}, zipfile = None)
I think I get rid of a bit more by using both 'exludes' and
'dll_exludes', following is my list.
excludes = ['_gtkagg', '_tkagg', 'bsddb', 'curses', 'pywin.debugger',
'pywin.debugger.dbgcon', 'pywin.dialogs', 'tcl',
'Tkconstants', 'Tkinter', "_tkinter", 'pydoc', 'doctest',
'test',
'PythonReports', 'geraldo', 'pyPdf',
# this is used to control if we are in dev mode, e.g.
different db etc
'configdev',
]
dll_excludes = ['libgdk-win32-2.0-0.dll', 'libgobject-2.0-0.dll',
'tcl84.dll',
'tk84.dll', 'fbclient.dll', 'icudt30.dll',
'icuin30.dll', 'icuuc30.dll',
'mswsock.dll', 'powrprof.dll', # needed to build on
Win7 64 and run elsewhere
'MSVCP90.dll']
Werner
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mailman.paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas