Hi,
In order to include extra data files explicitly in the bundled file
generated by pyInstaller, I specify it in the .spec file like this:
a.datas += Tree('./resources', prefix='resources')
Now, I have a 3rd party package that has its own resources directory which
I can also add by adding this:
a.datas += Tree('../../../env/lib/python3.8/site-packages/xxx/blocks',
prefix='resources/blocks')
I wonder if there's a better alternative to include the data files of
another package automatically or in an alternate way.
Or is there a way to bundle the data files in the package itself inline so
it will be available and transparent to pyInstaller?
Thanks in advance,
Yossi
--
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/49e790e0-4ef6-4251-af37-14d52fab0e55n%40googlegroups.com.