[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]