Wes McKinney wrote:
> I'm starting to have a lot of Cython code, and I would like to figure
> out how to compile many pyx files into a single extension. I tried
> just listing the pyx files and am getting strange compilation errors
> like "multiple definitions of initEXTNAME". I googled a bit and didn't
> immediately find anything on this. It's listed as TODO in the online
> documentation.

The documentation is up-to-date in this respect. This is TODO.

However you can use the "include" statement to include multiple pxi 
files into a single pyx, which could kind of give you what you want.

Note that even with pure Python, you can't really split a module across 
multiple .py files...

-- 
Dag Sverre
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to