jgoldschrafe/rpm-whisper — pull request #2 by jantman (2012-08-24 13:35:48+00:00)
Title: add -O1 to "setup.py install" to force compilation of optimized bytecode

On CentOS 6.2, setup.py by default does not generate the .pyo optimized bytecode files. Since these are included in the package (as per the Fedora Python packaging guidelines), the build fails. This patch simply adds the "-O1" flag to 'setup.py install' to ensure that the pyo files are created.