On Wed, Aug 27, 2008 at 9:05 PM, Greg Ewing <[EMAIL PROTECTED]> wrote:
> I suggest you de-hack your solution.
>
> I'm not sure about Cython, but the way it currently
> works in Pyrex is described here:
>
> http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/version/Doc/Manual/source_files.html

Hmm, that's what I based my initial attempts on. Here's my "hacky" solution:

If I have a package "foo", and a file in it called "bar.pyx", I
created a file called "foo.bar.pxd" and placed it inside the "foo"
package, and I created symlinks to it in all other packages that
required it. That's the part I considered hacky, but it was the only
way I could get it to work, short of putting ALL my .pyx files in the
same package.

Is there a better way?

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

Reply via email to