[Bf-committers] Python, freeze, and Python 2.3 beta

Charles Wardlaw bf-committers@blender.org
Wed, 11 Jun 2003 10:50:45 -0700 (PDT)


Hi all,

Not that I'm much of a python programmer (just started using the
language), but I love having scriptable apps and thus would like to see
the system flourish inside Blender.

I know that there have been a lot of problems with the freeze process. 
I was wondering if anyone had looked at the python 2.3 beta and it's
ability to use zip files full of .py / .pyc / .pyo files as a source
for the library.  Apparently, it makes it as easy as:

sys.path.append("./blenderlib.zip")

or something to make it search zip files for "import" files.  Also, the
zip would be transferrable across platforms, and could reside in the
app bundle on OSX.  (As well, a zip of the standard python libs could
also be distributed with Blender on OSX, as the standard python is a
little weird.)

Thoughts?
- Charles