Hi!
In the project I'm working on there is a splitting between extension source
files and pure python source files. I've some problems in compiling
correctly the extensions:
Src/cython/
one.pyx
one.pxd
two.pyx
two.pxd
...
Package/
__init__.py
stuff.py
...
one,two etc are dependent each other ("two" has a cimport statement in it)
When compiling the situation should be:
Package/
__init__.py
stuff.py
one.so
two.so
...
When importing two.so there's an import error like this (name are different
but the concept is the same):
File "primitive_gto.pxd", line 18, in contracted_gto
(Src/PyQuante/contracted_gto.c:1843)
ImportError: No module named primitive_gto
If I move the .pyx and .pxd files in Package the compilation goes ok. How
can I obtain a correct compilation using the first package structure?
(I really need that, it's not my choice)
- Gabriele
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev