On Mon, 2010-08-02 at 16:44 -0700, SK wrote:
> 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.

What it really meant was to run "python -O Configure.py".
-- 
Giovanni Bajo   ::  [email protected]
Develer S.r.l.  ::  http://www.develer.com

My Blog: http://giovanni.bajo.it
Last post: Compile-time Function Execution in D

-- 
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.

Reply via email to