Hi Martin,
Here is what I want to do:
Let the .exe created by pyinstaller contain python and the standard libraries.
At run time, I want on the same level as the exe a lib directory and a myapp directory
The lib directory contains the third party modules which will be used.
The myapp directory contains my code.
Now, when myapp.exe is run, I should be able to import modules from myapp and lib directories.
I have already managed to import and run stuff from myapp directory (by appending to sys.path in myapp.exe); imports from lib seem to work at the top level, but fail when there are sub-packages involved.
Error:
File "home\myapp\PyInstaller\loader\iu.py", line 409, in import Hook
ImportError: No module named http
Any suggestions?