how to install compiled C-extension module (.so file) in setup.py?

Issue

This Content is from Stack Overflow. Question asked by Yuxai

The official page seems to require me use Extension, listing all compile details inside setup.py. While I prefer to do the compilation through cmake.

Is there any way to install compiled extension module like .so?



Solution

Check the Answers

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?