Looks like pycountry also contains data files (which PyInstaller also 
doesn’t collect by default). There’s a hook utility for that too (although 
it’s odd we haven’t seen this sooner). Your hook becomes:

from PyInstaller.utils.hooks import copy_metadata, collect_data_files
datas = copy_metadata("pycountry") + collect_data_files("pycountry")

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/40de4c1a-e412-44ac-9ee2-27a21f1e3698n%40googlegroups.com.

Reply via email to