On Thu, 2010-04-29 at 22:43 +0300, Debarshi Ray wrote:
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?
I would name the templates with an extension other than .py since they are not Python source files in their current form.