Brenda,
The most usual methods are:
Steve Barnes
--
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
pyinstaller...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/pyinstaller/b873f1b4-0b29-4585-931b-8b5ffc49418cn%40googlegroups.com.
Does this page in the docs not solve your problem. You should be able to specify if pyinstaller: do x; else: do y. Or the approach that I prefer is to modify the dest parameter in your --add-datas options to put the data files where they’re expected to be by your code (see the updated but not yet published version of that web page which now showcases this).