Size: 558
Comment:
|
Size: 558
Comment: An @#! idiot had added some stupid spam on the page, I cleaned the mess
|
No differences found! |
Problem
If you specify the optimize option in your setup.py, this will only be used for the compiling of the needed modules, not for your main module!BRFor example if you have the following setup.py:
The bytecode embedded in the resulting .exe will not be optimised.
Solution
To get optimised bytecode, you need to call the setup.py like so:
python -OO setup.py py2exe