newforrestgump001 / pythonxy

Automatically exported from code.google.com/p/pythonxy
0 stars 0 forks source link

Compile .py file into .pyo file to speedup short script launch. #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Python(x,y) doesn't lauch a compile step of all .py file into .pyo.
The side effect is that small script takes longer time to run without .pyo.
I've tested your compile script seems to work.

Original issue reported on code.google.com by laurent....@gmail.com on 10 Dec 2008 at 10:38

GoogleCodeExporter commented 9 years ago
We can't compile all .py into .pyo without asking the user about it.
In some situations, compiling to .pyo is not a good thing because it removes the
'assert' statements.

However, I can add an option in the main installer and in the start menu 
shortcuts.

Original comment by pierre.raybaut on 13 Dec 2008 at 3:27

GoogleCodeExporter commented 9 years ago
Done in 2.1.6 with a simple GUI frontend

Original comment by pierre.raybaut on 14 Dec 2008 at 4:01