NTMatBoiseState/FiberFit

Solve cx_Freeze errors with current project directory

Closed this issue · 1 comments

cx_Freeze can not recognize some of the packages (i.e. "src") and throws errors when trying to launch software. I suspect this is due to lack of init.py files inside of packages. Need to investigate this further.

I fixed the issue. The problem was indeed in having no init.py files. Additionally, my packages weren't in the PYTHONPATH, so I got ImportError on my packages. I fixed it by doing
sys.path.append(<some path manipulation>). See more here