Question for Python devs: If I develop a Python package that accesses a native library with a C API via ctypes, is there a way I can bundle the native library (.dll, .dylib, or .so) with the Python package, such that the native library will be included by Python application packagers like py2exe, py2app, and PyInstaller?
Discussion
nostr:npub1jlvvus75texf4xaamyndnzgxnhxtack2sreyjmsmrz5ywk2w87yq4vctnj The answers differ in subtle ways, but if you build a wheel it'll work with most of them. Certainly with py2exe and py2app.