[Bf-committers] Bundle Python, modules to exclude (if any)

Nathan Letwory jesterking at letwory.net
Mon Dec 8 07:04:23 CET 2008

2008/12/8 Campbell Barton <ideasman42 at gmail.com>:
> Full Python
>  - 25.5mb, 8.3mb zipped
> Without TK
>  - 16.1mb, 5mb zipped
> Without TK, "distutils" and "test" modules
> - 10.1mb, 3.5mb zipped
> breakdown of module sizes uncompressed/compressed.
> TK - ~9.3mb uncompressed, 3.4 zipped. (installer reports TK to use
> 13mb, not sure whats up with that)
> "test" modules, 4.2mb, 0.7mb zipped.
> "distutils"  1mb . 0.4mb zipped.
> == Rationale ==
> "TK", user interface modules, Id recommend excluding this because...
> 1) Python without TK is an install option for win32 (note, its the
> ONLY module that can be unselected while installing), so we can
> exclude it while maintaining a complete python env.
> 2) Blender has its own UI,
> 3) Tk isnt popular compared py WX, QT, GTK,
> 4) its fairly large
> 5) this hasn't been used with blender for any non-experimental scripts
> AFAIK (feel free to link me to some blender tool that uses it)
> (tk modules)
> Tix - Tk Extension Widgets for Tkinter
> Tkinter - Interface to Tcl/Tk for graphical user interfaces
> turtle - Turtle graphics for Tk
> ScrolledText - Text widget with a vertical scroll bar.
> url: http://docs.python.org/modindex.html

Curiosa: here is a script that uses TKinter:
TKInter is often used afaik to have the OS standard file dialog
instead of Blender's own.


More information about the Bf-committers mailing list