-
Notifications
You must be signed in to change notification settings - Fork 702
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
codesigning with auto-py-to-exe takes ages #412
Comments
👋 Hi, just a reminder that if you haven't read the help post yet, give it a read to see if your issue is covered in it and make sure to follow the debugging section. Also please note, as stated in the README, if your issue is only associated with your application and not auto-py-to-exe itself, please do not create an issue in this repository - instead, comment on the help post, video or create a new discussion. |
I don't own a Mac myself so I am going to be 0 help on this. What I can recommend, is for you to run the "Current Command" outside of auto-py-to-exe - does doing this solve the issue? If not, it will be a PyInstaller issue, if it is, it will be an auto-py-to-exe issue (depending on what fails). |
Thanks for the reply. I'll try it with the |
auto-py-to-exe is just a UI layer on top of PyInstaller - it calls PyInstaller internally. Directly from auto-py-to-exe's README.md
auto-py-to-exe offers the following on top of PyInstaller:
|
Ok, thanks for this :).
is the reason, why I don't get the |
Yep, that is the reason. If you want the .spec file, I would recommend using PyInstaller directly. auto-py-to-exe offers JSON configuration files as a substitute. |
Ok, here's a little update on the |
That's interesting - I have faced speed issues when running auto-py-to-exe through vs code but when running directly in the terminal, I haven't seen any loss in speed. When you ran auto-py-to-exe, did you have the project open in vs code and run it through the "Run and Debug" option or did you use the terminal? |
How do you know I use VSCode ;)? I do actually, but I only use it as a code editor not to run anything. IIRC I tried both, but it did not change anything about the performance. If I run anything (at least Python based) I always start it directly from terminal. EDIT: I made a little comparison on an older version (no codesigning, but the exact terminal command |
Hmm I see. When the codesigning was processing, were there logs being output? Potentially these could offer some insight. |
This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment on this issue or it will be closed in 5 days. |
Closing issue due to no activity in more than 60 days. |
I've ported an app based on Python from Windows to macOS. I can run the app from command line and I was also able to make an .app file an start it on my mac using
auto-py-to-exe
. Now I want tocodesign
(and laternotarize
) it. To do so I set thecodesign_identity
option ofauto-py-to-exe
to myDeveloper ID Application
and rerun it. After 2 days it was still running (and I guess collecting information on submodules of the used Python modules). Without the codesigning it takes about 5-10 minutes to build. Any ideas how I could accelerate this or what is happening here? Unfortunately, I am not able to copy the output ofauto-py-to-exe
while it is still running.Thanks :).
The text was updated successfully, but these errors were encountered: