I'm new to setup.py files and Cython.
I wanted to know how to add different libraries to compile my .pyx code to simple one .so file.
Example;
My python code contains a function that has dependency on math.py.
I wanted setup.py to compile my python code along with math.py to a single .so file.
Kindly help me doing this.
Asked
Active
Viewed 18 times
0

Ojas_Gupta
- 107
- 10
-
This isn't really what Cython is designed for. It's possible to make it work for simple cases (as in the linked question) but it's very difficult for anything more complex – DavidW Jan 15 '23 at 10:17