Does this page in the docs 
<https://pyinstaller.readthedocs.io/en/stable/runtime-information.html> 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 
<https://github.com/pyinstaller/pyinstaller/blob/develop/doc/runtime-information.rst>
 
but not yet published version of that web page which now showcases this). 

-- 
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/5e291f9f-eb95-436c-b952-8f416b5c66d3n%40googlegroups.com.

Reply via email to