I used auto-py-to-exe to create an application out of a project I made. The total size of the required files is about 40MB. The libraries imported are
-pandas
-sklearn.svm
-pickle
-joblib
-warnings
-tkinter
When I clicked "convert my .py to .exe", the program loaded a bunch of files. The final application folder is about 3GB. When I looked inside the application folder, there seemed to be a bunch of unnecessary modules and libraries, but I'm not sure. For example, there is a subdirectory called tensorflow, but I didn't use tensorflow at all in my project. I didn't create a custom working environment. The application works fine, but I would like to get the size of my application down to something reasonable.