Cant figure out how to pack custom resources into my executable, i found this bit of info,https://groups.google.com/forum/#!msg/pyinstaller/HcTTyFlPJHA/kqd4wnm7JhkJ
Adding data files and next section using data files from module in pyinstaller docs.
Yes, you should to use package relative path instead of plain relative in your code. Because package will be extracted not relative to execution binary, but somewhere in temp dir. Look for pkg_resources
package. For example this function:
dir = resource_filename('your_package', 'app/samples')
To clarify how to define datas in spec look for example:
a = Analysis(['../trunk/__main__.py']
...
datas=[('../src/trunk/your_package/app/samples/data.bin', 'your_package/app/samples')],
...