I am currently integrating a python script into my plug-in project which is developed by Kotlin.
Just wonder if there are any suggestions on this?
Running a python script requires a python interpreter installed. Also, this python script also required to install some python libs ahead (e.g. lark, ninja)
The are two possible ways I can think of:
- Using pyinstaller to pack the script into executables, and run it as an executable file.
- Install all requirements (python interpreter, libs) and run the script.
Not sure if there is any better way to do so.
Any help will be appreciated!