<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You could file a bug at <a href="https://launchpad.net/cython/" target="_blank">https://launchpad.net/cython/</a> and note that<br>

it also affects Pyrex.<br>
<font color="#888888"></font></blockquote><div><br>We&#39;d be using Cython if it were not for a few pesky bugs we&#39;ve yet to work around, namely our source is arranged in a manner which Cython cannot handle;<br><br>src/&lt;extension&gt;/soy.&lt;extension&gt;.pyx which includes src/&lt;extension&gt;/&lt;EachClass&gt;.pxi<br>
</div></div><br>The resulting compile, as you could likely guess, raises errors such as:<br>&nbsp; AttributeError: &#39;src.colors.soy.colors.Color&#39; object has no attribute &#39;_a&#39;<br><br>I love a lot of what you guys are doing, as well as your project goals and organization.&nbsp; There&#39;s a number of Cython features that would make our code cleaner, but we also find the way our source is arranged very useful for our purposes.<br>
<br>If you could suggest how to override this behavior it&#39;d be much appreciated.<br><br>Here&#39;s our setup.py script, which uses Pyrex.Compiler directly and includes some OS conditionals and other tricks which may be obsolete:<br>
&nbsp; <a href="http://www.pysoy.org/browser/trunk/pysoy/setup.py">http://www.pysoy.org/browser/trunk/pysoy/setup.py</a><br>