I have taken a look at both pyjsbuild and pyjscompile. They are both small scripts importing pyjs/pyjs/src/pyjs/browser.py. If I am not mistaken, this is where the options are parsed, but I see no specific option to optimize the size of the generated javascript.
@Anthony: do you remember which flags are useful for this? On Sunday, July 1, 2012 4:02:19 PM UTC+2, apexi.200sx wrote: > > Oh also forgot to mention you could try playing around with various flags > on pyjsbuild, as these can affect the size of the built app - the switches > have changed recently by C Anthony, but it might be worth experimenting. > > Let us know how you get on it may save other people some time and effort ! > >