Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why not use Nuitka instead of Pyinstaller? #1292

Open
ExtraMobs opened this issue Apr 13, 2024 · 3 comments
Open

why not use Nuitka instead of Pyinstaller? #1292

ExtraMobs opened this issue Apr 13, 2024 · 3 comments
Milestone

Comments

@ExtraMobs
Copy link

why not use Nuitka instead of Pyinstaller? It avoids many problems related to importing because the script behaves exactly as written, in addition to optimization, which gives about 20% to 50% more execution speed, allowing for heavier resources in the future.

@TheJackiMonster
Copy link
Collaborator

Actually, I didn't know of it yet. Seems like a great option to easily build a compact binary. I'm not sure whether all spellcheckers get bundled properly without issues since they are usually loaded during runtime. But it might make sense to switch to it from PyInstaller.

Do you know whether Nuitka solves the issue that binaries get false flagged as malware on Windows?

@ExtraMobs
Copy link
Author

When I compile with Nuitka, Windows rarely reports malware, a guess would be when the binary points out suspicious heuristics for Windows, common binary patterns among viruses, I'm not surprised that Pyinstaller reports this on Windows, after all Pyinstaller is well known, many malware and viruses must use it, so Windows flagging some *.pyd as untrustworthy doesn't surprise me much depending on the library.

@ExtraMobs
Copy link
Author

I didn't find anything about grammar checkers in the repository, how does that work? Because if it is a relative import module (sometimes you import it and sometimes you don't), Pyinstaller, when scanning your code, will miss the module and not find it, as I already accused here.

@TheJackiMonster TheJackiMonster added this to the 0.17.0 milestone Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants