I'd like to create an executable with pyinstaller for my colleagues. My first attempt (on anaconda python 3.6) causes so much crap to get included the executable is over 200mb in size. For a 20 line script that only needs numpy because pandas requires it. I'm indexing an excel file, it's not rocket surgery.
I got a venv going, installed the required modules, but the numpy version you get from pypi (3.6, amd64) won't import on windows due to a dll importing error. So I got the precompiled .whl that comes with the MKL libraries; and when I install that and pyinstall -F script the exe comes out at a hefty 166mb. Ideally I'd want to get the size down to maybe 30-50mb.
I've been looking into ways to get rid of the MKL but I don't feel like I've sussed it. Any advice would be greatly appreciated!