from main.py:
# line 86
parser.add_argument("-apic", "--android-python-install-path"
[…]
# line 109
python_path = args.android_python_install_path
[…]
# line 119 & 120
valid_python_path = True
if python_path and Path(python_path).exists():
# line 155, guarding the full cross compile build step
if not python_path or not valid_python_path:
When supplying a path that does not exist, python_path is non-empty and Truethy. The block starting 120 is skipped, because the path does not exist.
Then in 155, not python_path is False and not valid_python_path is False, because setting it to False was skipped in the block starting at 120.
Both checks are False, and the whole block is skipped.