• Example of using PyInstaller with local lib.
pyinstaller --onefile --paths="./path/local/lib" --paths="./you/can/use/multiple/of/paths" the_python_main_file.py