Ticket #429 (closed defect: fixed)
pyinstaller executable is dependent of working directory
|Reported by:||maggie||Owned by:||matysek|
im having a strange behaviour with an executable created with pyinstaller (r1556).
I'm developing an application on a personal folder on my pc. The created executable is containing a file named "xyz.py" located in subfolder (package) "a". I introspected outPYZ1.pyz with archiveviewer and found xyz.pyz of package a included.
When i creat a new working version of the application im copying the whole folder structure (including all sources) to an other place to make it available to others.
Recently i only copied the generated executable. As i wanted to execute it from this place i got an error in my application which concerned the earlier version of the programm.
So i tried the following: i copied the new "xyz.py" in subfolder "a" of the outer place. And tada, it works. I replaced it again with the old version: its not working again.
So the executable is using the source file instead of the packaged file?
Is this the desired behaviour ?
- Priority changed from normal to low
- Milestone set to PyInstaller 2.1