Currently I have one pyx file contains all classes (parent class and children classes). now I want to break it down into multiple files, one file for the parent class, and each child class has it own file. So two things I want to know
- How do I import the parent class in the child class file?
- What need to be changed in the setup.py, in order to build the extension?
setup.py look like
from distutils.core import setup
from Cython.Build import cythonize
setup(ext_modules = cythonize("MyLibrary.pyx"))
I have google it, but what I got is how to build multiple extensions at once. Thanks for advance