-
Notifications
You must be signed in to change notification settings - Fork 28
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
Compilation reports should be documented and part of examples (was Nuitka not including any packages) #62
Comments
Did you consider installing your requirements too? |
Notice the setup python which has the specific requirements.txt specified The log shows installation of packages Nuitka even mentions in it's logs that it will include extra data for a package, yet the executable is 5mb, it hasn't included anything at all! |
In that case, the output of added Nuitka compilation-report: compilation-report.xml would be helpful. I think, we need to also update the docs to use it in the examples, as it can explain those things best. |
I can fetch the compilation-report sure. Just tell me how |
If you can't figure it out from what I wrote, you will have to wait until I told you I updated the docs, which is sort of delayed, as I will work on Nuitka and 3.13 mainly now. |
I forgot that you do not like people wasting your time with stupid questions. Of course though, here's the report I extracted from the action: https://pastebin.com/rsV8Wf1G |
So, it says this e.g.
I am not extremely familar with GitHub Actions, but I believe that your setup step does NOT install any package via PIP, and only says where it would cache and by which key, you are lacking a I think that renders the report itself invalid, however, I will keep it open to track the addition of the compilation report update. |
The docs use this:
Seems you didn't use it? |
That was it, I removed that thinking setup action was installing stuff. My mistake, thanks for pointing it out, I am quite sleep deprived lol. |
Keeping it open to track the thing that interests me about this |
I think nuitka should in general maybe have an option to fail if packages aren't found, maybe one global option, or exclusions in case there are certain modules that can in some cases not be installed, or something like that idk, or a warning, I think would be a nice idea, idk how good in practice but yeah |
I recall a time where it was a warning. I didn't have any good experience with that. People couldn't handle that either. |
My action
My requirements-Windows.txt
My action finished with an executable 5mb (I have other heavy packages too) (PyInstaller for ref is 90+mb)
As expected, exe doesn't work
The text was updated successfully, but these errors were encountered: