On Thu, 31 Jul 2003, Aubin Paul wrote: > > /usr/bin/python2.3 -OO /usr/lib/python2.3/compileall.py </path/to/freevo> >
> This will byte-compile everything and will avoid the first run/access > slowdowns. > > Debian does this with packages, it could be done with RPMs too. > That's what I do in the RPM package installation script (instead of including all the *.pyc in the RPM package). I run setup_freevo to compile to bytecode (currently *.pyc). If you modify setup_freevo to generate *.pyo instead, I just need to change the script to cleanup *.pyo on package removal. T.C. ---- Wan Tat Chee (Lecturer) School of Computer Science, Univ. of Science Malaysia, 11800 USM, Penang, Malaysia. Rm.625 Ofc Ph: +604 653-3888 x 3617 NRG Lab Admin: +604 659-4757 Rm.601-E Ofc Ph: +604 653-4396 Internet: [EMAIL PROTECTED] Web: http://nrg.cs.usm.my/~tcwan GPG Key : http://nrg.cs.usm.my/~tcwan/tcw_gpg-20030322.asc F'print : DCF2 B9B2 FA4D 1208 AD59 14CA 9A8F F54D B2C4 63C7 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel