Just some background, I am creating a package that ties into some C++ and wanted to know how some other larger codebases handle this. I know that many popular Python libraries like the above-mentioned ones are written mostly in C++ (and use a shared library like libtensorflow.so for example). I was just wondering how specifically they distribute the shared library. Do they have a a set of them embedded in the package i.e. .dylib, .so, .dll for MacOS, Linux, and Windows respectively? My initial thought was that these packages exported the shared library file for each platform/architecture in some distribution folder but I couldn't find anything like that. Any help or expertise is appreciated, thanks.
↧