mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-25 19:55:49 +03:00
[GH-ISSUE #372] How can I add only those libraries that I need and ignore all others? #305
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Cowboyserg on GitHub (Mar 2, 2023).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/372
Originally assigned to: @Cowboyserg on GitHub.
Windows 10
Python 3.7
auto-py-to-exe 2.18.2
Hello, can you help me with my problem please?
I used command
I have only 2 import in my
.pyfileI don't know why, but
auto-py-to-exetryed to take Django and matplotlib. That is the reason why I added them to--exclude-module.How can I add only this 2 libraries into
exefile and ignore all other, thatauto-py-to-exetakes?In the end I got my
exefile that works correct, but it weighs 140 MB@github-actions[bot] commented on GitHub (Mar 2, 2023):
👋 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.
@brentvollebregt commented on GitHub (Mar 2, 2023):
In the post that's linked in the README, at the bottom of the UI after every build and in the comment above, there is a section "The Output Executable is Huge". Give this a read - you need to use a virtual environment to remove these extra libraries from your environment.
@github-actions[bot] commented on GitHub (Apr 2, 2023):
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.
@github-actions[bot] commented on GitHub (Apr 8, 2023):
Closing issue due to no activity in more than 60 days.