You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,16 +24,16 @@ and can get called during application workflow.
24
24
| iOS | ✓*|
25
25
26
26
`*` Linux, Windows and MacOS support PyO3 and RustPython as interpreter. Android and IOS
27
-
currently only supports RustPython.
28
-
Android and iOS might also be able to run PyO3 in theory but require to have CPython
27
+
currently only support RustPython.
28
+
Android and iOS might also be able to run with PyO3 in theory but would require to have CPython
29
29
to be compiled for the target platform. I still need to figure out how to
30
30
cross compile python and PyO3 for iOS and Android. Ping me if you know how to do that.
31
31
32
32
You can use this plugin for fast prototypes or for production code.
33
33
It might be possible that you want to use some python library or code that
34
34
is not available for rust yet.
35
-
In case that you want to ship production software packages, you just need
36
-
to make sure to also ship the python code. If you use PyO3, you also need to ship libpython too.
35
+
In case that you want to ship production software packages, you need
36
+
to make sure to also ship all your python code. If you use PyO3, you also need to ship libpython too.
37
37
38
38
## Example app
39
39
@@ -44,7 +44,7 @@ Javascript in [examples/plain-javascript](https://github.com/marcomq/tauri-plugi
44
44
## Add the plugin to an existing tauri application
45
45
46
46
47
-
These steps assume that you already have a basic tauri application available. Alternatively, you can immediately start with the example application.
47
+
These steps assume that you already have a basic tauri application available. Alternatively, you can immediately start with the application in "example" directory.
48
48
49
49
- run `npm run tauri add python`
50
50
- add `src-tauri/src-python/main.py` and modify it acording to your needs, for example add `def greet_python(intput): return str(input) + " from python"`
0 commit comments