[Ovirt-devel] Re: [PATCH node-image] Add minimal python into the Node

Alan Pevec apevec at redhat.com
Sun Nov 30 15:07:12 UTC 2008


Perry Myers wrote:
> core python libs and interpreter are added to facilitate scripting
> Node size increases by approx 4MB compressed
> 
> This patch removes all of the .py files installed by python RPM
> since the .pyc and .pyo files are already present and the source
> shouldn't be strictly needed.

ACK, thanks! We can now use python for the next version of ovirt-config-* scripts, current ones are taking shell scripting to the limit.
Pushed with the additional removal of .pyo files b/c optimized bytecode doesn't help much and we save 2MB.
Side-effect is that python -O doesn't work, but that's not much used anyway - on my machine I found -O used only by /usr/bin/alacarte and /usr/bin/rpmlint scripts.




More information about the ovirt-devel mailing list