<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'd be using Cython if it were not for a few pesky bugs we've yet to work around, namely our source is arranged in a manner which Cython cannot handle;<br><br>src/<extension>/soy.<extension>.pyx which includes src/<extension>/<EachClass>.pxi<br>
</div></div><br>The resulting compile, as you could likely guess, raises errors such as:<br> AttributeError: 'src.colors.soy.colors.Color' object has no attribute '_a'<br><br>I love a lot of what you guys are doing, as well as your project goals and organization. There'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'd be much appreciated.<br><br>Here's our setup.py script, which uses Pyrex.Compiler directly and includes some OS conditionals and other tricks which may be obsolete:<br>
<a href="http://www.pysoy.org/browser/trunk/pysoy/setup.py">http://www.pysoy.org/browser/trunk/pysoy/setup.py</a><br>