How to control (or avoid) brp-python-bytecompile

Debarshi Ray debarshi.ray at gmail.com
Thu Apr 29 19:43:48 UTC 2010


Anjuta carries a bunch of template sources which are filled up at
runtime to generate source files for various kinds of projects. These
are placed in /usr/share/anjuta/project. Now
/usr/lib/rpm/brp-python-bytecompile is trying to byte compile the
Python templates, which are obviously not syntactically correct Python
sources. This is failing the build:
http://koji.fedoraproject.org/koji/getfile?taskID=2146714&name=build.log

How do I work around this?

Thanks,
Debarshi


More information about the devel mailing list