what script looks like
what working app should look like
Before posting I have looked at the following question and tried to use it as a guide to make my script work properly but it was of marginal use
PyInstaller won't load the PyQt's images to the GUI
the best it did was include my icons in the resulting directory as follows
(icons included image here)
and the following one I have no idea what it is even saying but I feel it can solve my problem if I knew what it was actually doing, Bundling data files with PyInstaller (--onefile)
I have rtfm and most of it goes above my head unfortunately. The following section which I think pertains to my question
http://www.pyinstaller.org/wiki/Recipe/CollectDatafiles
I have no idea how to actually implemet it in my spec file
same goes for the following http://www.pyinstaller.org/export/v2.0/project/doc/Manual.html?format=raw#accessing-data-files
I have done the following and variations of it including using the -F parameter
I converted my mainWindow.ui file using pyside-uic.exe to convert it into mainGui.py file
then converted icons.qrc into icons_rc.py using the pyside-rcc.exe to make the conversion
(note: I converted the file after putting a copy of the exe originally in the PySide folder into my C:\Python27\Scripts folder which is in my Path so that I can call it from anywhere)
I store my icons in the icons folder
to make the executable in my console using Pyinstaller I have used the following command to make my spec file
C:\Pyinstaller-2.0> python utils\Makespec.py --windowed --name="16TangoTest" C:\Exmake\16MainWindowVideo.py
Once spec file is made I cut it from the pyinstaller folder and add it to my Exmake folder
then I modify it to include my icons folder using
Tree(C:\Exmake\icons), and append it to collect in the line above a.binaries
The manual and the first answer above indicate that I have to modify my spec file so that pyinstaller sees / finds my icons as I've done in the picture below
all it did was include my icons in the dist directory with the application still not displaying them as in the 1st picture above
Then I make the executable by running the following in the console C:\Pyinstaller-2.0>python pyinstaller.py C:\Exmake\16TangoTest.spec and that makes the folder that you see in the first picture, the icons are included but the folder but not the application when it is run