How Do You Get Cimport To Work In Cython?
I have a directory structure as so: /my_module init.py A/ __init__.py a.pyx B/ __init__.py b.pyx In b.pyx I want to cimport functions from A.a. A regular python import
Solution 1:
You have to create a cython declaration file, a .pxd
It shall contain only declarations of classes and functions that you want to import.
Post a Comment for "How Do You Get Cimport To Work In Cython?"