On 25 ago, 00:15, Kevin <[email protected]> wrote:
> You can remove gluon/contrib/populate.py, which is almost 1 mb.
>
> You can also run web2py with `python -OO web2py.py`, and after getting
> the app to load all your modules (perhaps by accessing every page on
> your app), close down the server.  Then remove all the .py and .pyc
> files, just leaving pyo files. These files won't have docstrings in
> them or comments, and will be rather minimalistic bytecode (just be
> sure to keep any of your original python code somewhere safe).
>
> Make sure your application isn't set to cache to disk -- if any
> caching is done, cache in ram or not at all.  Remove the README file
> and the scripts folder.
>
> Anything else appears to be too small to be worth the effort.

Hi kevin,

thank you very much.

Jose

Reply via email to