[Adeodato Simó, 2008-12-18] > * Piotr Ożarowski [Thu, 18 Dec 2008 22:06:35 +0100]: > > > You can even install it as /usr/share/urlwatch/urlwatch.py (but still > > symlink it without the extension) - this way you'll have additional .pyc > > file which will speed urlwatch a little bit > > AFAIK, .pyc files are only for imported modules, and never for executed > scripts. They are certainly not created by default, and strace does not > show them being used either.
that's why I wrote to install it as /usr/share/urlwatch/urlwatch.py (note the additional extension). > (Plus you wouldn't want .pyc files in /usr/share/<package> anyway AFAIK.) lots of packages are installing .py files into /usr/share/<something> (IMHO all Python applications should do this and thus not pollute global namespace) and pycentral/pysupport handles it fine. -- -=[ Piotr Ożarowski ]=- -=[ http://www.ozarowski.pl ]=-
pgpOn0qBLaHOG.pgp
Description: PGP signature