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
eug3nix
changed the title
consider switching from pyinstaller to cx_python or nuitka
consider switching from pyinstaller to cx_freeze or nuitka
Jul 3, 2023
I have tried building app back-end with Nuitka and managed to make it work with like so: nuitka3 --standalone --include-module=app.middleware --include-package=pgmanage --include-package=django --output-dir=dist ./pgmanage-server.py
The some data files should be added to the project dist directory in order to make it work.
The app starts up significantly faster but my main concern is the size of the build, which is almost 200% of what we get with pyinstaller. Perhaps the size could be optimized by selectively including only necessary python modules instead of using whole packages.
to reduce the app startup time and app startup issues on Mac
https://cx-freeze.readthedocs.io/en/latest/keywords.html
https://github.com/Nuitka/Nuitka
The text was updated successfully, but these errors were encountered: