Hi,
Using the svn PyInstaller I can't get optimized python byte compiles
to work. I used to use a custom Makespec.py with
a.scripts+[('O','','OPTION')]
but that isn't working anymore. Adding the +[('O','','OPTION')] right
into the generated .spec files isn't working either.
When I go to build with either of those work-arounds (or neither)
using
python -O path\to\PyInstaller\Build.py myApp.spec
I get:
python optimization flags changed: rerun Configure.py with the same
[-O] option
Configure.py optimize=False, Build.py optimize=True
but Configure.py doesn't accept a -O option.
There is an environment variable that turns on Python optimization so
I suppose that would be a work around.
I realize that Python "optimization" is not of much value for
performance but it would still be nice to have a little more speed and
slightly smaller executables.
Ideas? Thanks!
SK
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyinstaller?hl=en.