[Cython] cimport across packages
Robert Bradshaw
robertwb at math.washington.edu
Thu Jul 10 20:30:31 CEST 2008
For the Sage project we have code split accross dozens of directories,
with relative and local imports throughtout as if they were Python fils,
so this does work.
Perhaps you could post your code (or at least a non-working example)
somewhere, and I could take a look later to see if you're configuring
somethign wrong (or it's a bug in Cython).
- Robert
On Thu, 10 Jul 2008, Jay Parlar wrote:
> On 7/10/08, Anatoly A. Kazantsev <jim-crow at rambler.ru> wrote:
>> Oh, I don't split sources to different directories.
>
> Ok, so I *kind* of have it working, in that it works, but I'm not
> happy about it. It seems that if I put 'filters.dc.pxd' in *both* the
> 'filters' directory AND the 'sm' directory, then it happily compiles.
> But there must be a better way than copy-pasting.
>
> Jay P.
> _______________________________________________
> Cython-dev mailing list
> Cython-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/cython-dev
>
More information about the Cython-dev
mailing list