2009/2/24 Debarshi Ray debarshi.ray@gmail.com:
What happens is that Anjuta installs some code templates in %{_datadir}/anjuta which get converted into proper C, C++ or Python files once a project is created and some parameters like license, author, etc. are specified by the user. So these templates are not really valid Python files by themselves even though they have .py as a suffix. So for obvious reasons, running brp-python-bytecompile causes the build to fail.
So maybe the long-term solution would be upstream renames them to *.py.tmpl, *.py.in or similar?