Actually I have tried those things, and its kind of working after some modifications, but its generating
.so file like classifier.cpython-37m-x86_64-linux-gnu.so, instead of classifier.so. So, wanted to know if there is a cleaner way to do that. Anyway thanks for the reply.