Matt Campbell on Nostr: Question for Python devs: If I develop a Python package that accesses a native ...
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?
Published at
2023-08-05 21:30:56Event JSON
{
"id": "c81927873cbec75873fd9aecb8a9efaa2d95de321af6f83c4125d464d5b075a5",
"pubkey": "790e5e1a77f369f0eae0afb55dd1fae16c51eb87977c87a9b4fa113c6bac5399",
"created_at": 1691271056,
"kind": 1,
"tags": [
[
"proxy",
"https://toot.cafe/users/matt/statuses/110839139962500106",
"activitypub"
]
],
"content": "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?",
"sig": "697eb591461649ceabd29f9cc373ce1670375dfa347305bcfd6d1ca0f8366a145c9072a04fed4c2c664f79bc0e88f44d67411d3f5d3c65e2da8c419d68ad1190"
}