From: Tony Cappellini <cappy2112@gm...> - 2009-01-16 19:10:06
I've made an executable of a small Python script which imports PIL.ImageGrab.
This is the only module in PIL that I use, but looking at the listing
generated by xref, many other modules in PIL are being included.
imports: PIL.ImagePalette PIL.Image os PIL.ImageFile
imported by: PIL.Image
imports: string math
imported by: PIL.ImagePalette
I've tried excluding each of those modules individually, but they
still show up in the xref listing
excludes" : ['wingdbstub', 'PIL.GimpGradientFile', 'PIL.GifImagePlugin'],
Is there any way to not include modules which aren't needed in PIL?
The xref listing does not show that these are being explicitly
imported by ImageGrab