I’ve experienced several issues trying to generate an installation on macOS:
I was unable located two csv files that I put in the same directory containing main script, using the datas array. The main python script is run as an executable, on a mac after installation and the normal methods of getting location of the current script don’t work! Is this why there is the nudge to use the qt resources system in the tutorial?
The size of installation was huge, in excess of 800Mb. I had assumed that pyinstaller just included imported modules, however in my case I found it had included modules relating to Jupyter notebook, QtNetwork, IPython, QtWebSockets none of which are referenced in my script. I am sure that none of my imports relied on these modules. After zipping 800Mb was reduced to a more manageable 277Mb.
Is there a Packaging tool for macOS. The tutorial targets windows nicely. What is the solution for mac users?
Unfortunately I am forced to question whether PyInstaller is fit for purpose on macOS.