File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -230,10 +230,10 @@ PyO3 needs a `libpython` at runtime, which is what makes PyO3 deployment harder.
230230
2312311 . ** Ship an embeddable / standalone Python** with the app (recommended for end-user distribution).
232232 Bundle a self-contained Python (e.g. [ python-build-standalone] ( https://github.com/astral-sh/python-build-standalone )
233- or the Windows embeddable zip) as a resource and point the app at it. A community project demonstrating exactly
234- this with Tauri is [ @ Qingbao 's tauri-agent ] ( https://github.com/Qingbao/tauri-agent ) – it downloads an embedded
235- Python into the bundle and sets the Python path before launch, so the target needs no system Python and there is
236- no fragile dynamic linking .
233+ or the Windows embeddable zip) as a resource and point the app at it before launch, so the target needs no system
234+ Python and there is no fragile dynamic linking. For one community example of wiring an embedded Python into a Tauri
235+ app, see [ @ Qingbao 's tauri-agent ] ( https://github.com/Qingbao/tauri-agent ) (third-party, not tested by us – treat it
236+ as a starting point rather than a recommendation) .
2372372 . ** Ship the shared libpython** next to the executable / inside the ` .venv ` you bundle. Check what is linked with
238238 ` otool -L tauri_app ` (macOS) or ` ldd tauri_app ` (Linux); a line such as
239239 ` .../Python.framework/Versions/3.13/Python ` tells you which version the target must provide at the same location.
You can’t perform that action at this time.
0 commit comments