On Friday, October 10, 2014 10:38:40 denisart benjamin2 wrote:
Le 10/10/2014 09:34, Johannes Meixner a écrit :
I assume .pyc files are not architecture independent so that a package that contains .pyc files cannot be "noarch".
.pyo/.pyc is arch independent bytecode. Bytecode is only created for imported modules, not the script itself. In case of hplip, this is all the stuff in the /usr/share/hplip/* subdirectories, e.g. /usr/share/hplip/base/*py Bytecompiling does only influence startup time, not execution speed. Bytecode generation can be controlled: https://docs.python.org/2/library/sys.html#sys.dont_write_bytecode Currently, hplip is about 10MB, shipping the bytecode would add about 1MB. Kind regards, Stefan -- Stefan Brüns / Bergstraße 21 / 52062 Aachen home: +49 241 53809034 mobile: +49 151 50412019 work: +49 2405 49936-424-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org