I was wondering if there is a way to create a single .pyd with cython from a pure python package keeping the package hierarchy.
I mean if the package name is A and inside it there are modules B and C (with their respective folders and init files)
A/
----> __init__py
----> A.py
----> B/
----> __init__.py
----> B.py
----> something.py
----> C/
----> __init__.py
----> C.py
can I generate a single A.pyd file that allows me to do things like
import A.C
import A.B.something
At this point I know that I can get a single pyd file using .pyx files and the include statement, but this alternative doesnt respect the package hierarchy.
Any help will be very much appreciated