How to control (or avoid) brp-python-bytecompile
matt at mattmccutchen.net
Thu Apr 29 20:04:31 UTC 2010
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:
> 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.
More information about the devel