peacemaker Expert Licensed User Longtime User Feb 25, 2025 #1 Hi, All And how the installation of a B4J app using PyBridge will look like ? 5-6 GB folder including some Py set ?
Hi, All And how the installation of a B4J app using PyBridge will look like ? 5-6 GB folder including some Py set ?
Daestrum Expert Licensed User Longtime User Feb 25, 2025 #2 I just compiled a non-ui PyBridge program and the build folder was 68MB. ( I do have python separate on my machine) And a UI version came out at 96MB Last edited: Feb 25, 2025 Upvote 0
I just compiled a non-ui PyBridge program and the build folder was 68MB. ( I do have python separate on my machine) And a UI version came out at 96MB
peacemaker Expert Licensed User Longtime User Feb 25, 2025 #3 So, the app installer must download and install Python... Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Feb 26, 2025 #4 No. I've published an example: https://www.b4x.com/b4j/files/PyPDF_Example.exe It is 49mb. Not much larger than a package without Python. And this example includes several Python libraries. It can be smaller. Obviously if you use large Python libraries then the package will be larger. And not every library is really suitable for simple distribution. Upvote 0
No. I've published an example: https://www.b4x.com/b4j/files/PyPDF_Example.exe It is 49mb. Not much larger than a package without Python. And this example includes several Python libraries. It can be smaller. Obviously if you use large Python libraries then the package will be larger. And not every library is really suitable for simple distribution.
peacemaker Expert Licensed User Longtime User Feb 26, 2025 #5 Erel said: Not much larger than a package without Python Click to expand... But some runtime of the Py is needed or not for standalone app ? Ahh, i see now that 65 MB of "WinPython" is included, clear now, thanks, Erel. Totally 120 MB of the installed app. Upvote 0
Erel said: Not much larger than a package without Python Click to expand... But some runtime of the Py is needed or not for standalone app ? Ahh, i see now that 65 MB of "WinPython" is included, clear now, thanks, Erel. Totally 120 MB of the installed app.
Erel B4X founder Staff member Licensed User Longtime User Feb 26, 2025 #6 Step 1: Work with a local Python: No more special steps. The local Python runtime is copied to the installer package. Upvote 0
Step 1: Work with a local Python: No more special steps. The local Python runtime is copied to the installer package.
peacemaker Expert Licensed User Longtime User Feb 26, 2025 #7 BTW, after uninstallation - the app folder is not deleted, with big tree of the empty subfolders: Upvote 0