I’ve posted over on the PyInstaller google user’s group, but it’s my first post and it’s moderated… so it’s not showing up yet.
BUT I was able to get PyInstaller to work. PyInstaller comes with a bunch of preset “hooks” which are basically extra instructions per library. I went to site-packages/PyInstaller/hooks/hook-bokeh.py which is the following for the latest PyInstaller dev:
from PyInstaller.utils.hooks import collect_data_files
# core/_templates/*
# server/static/**/*
# subcommands/*.py
datas = collect_data_files('bokeh.core') + \
collect_data_files('bokeh.server') + \
collect_data_files('bokeh.command.subcommands', include_py_files=True)
I simply changed to:
datas = collect_data_files('bokeh.core') + \
collect_data_files('bokeh.server') + \
collect_data_files('bokeh.command.subcommands', include_py_files=True) + \
collect_data_files('bokeh')
There might an easier way (or more efficient / light-weight?). But at least it works. I’m pretty sure I could add collect_data_files('bokeh') somewhere in my .spec file instead, but I’m fairly new to PyInstaller.