[Bf-committers] Bundle Python, modules to exclude (if any)
dfelinto at gmail.com
Wed Dec 10 07:35:39 CET 2008
I would like to say that I completely support the bundling process.In our
project here we want to release a single-player "game" and we don't want to
demand a full python installation to our users.
Our demand for the full python right now is only to run the clr.pyd module
(Common Language Runtime - an interface to integrate dotNet and python).
We don't need any of the options we can disable at installation time (tk,
utility scripts, tests).
I tested here and the "tiny" python is fine
2008/12/7 Nathan Letwory <jesterking at letwory.net>
> 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.
> Bf-committers mailing list
> Bf-committers at blender.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Bf-committers