google-coral / coralmicro

Source code for Coral Dev Board Micro
Apache License 2.0
106 stars 44 forks source link

Install additional python requirements at build/CI time #32

Closed atvrager closed 1 year ago

atvrager commented 1 year ago

Seems like on Windows, PyInstaller silently ignores libraries we passed with --hidden-import if they are not installed: causing our release artifacts to have a broken flashtool.

Add a pip install of the scripts/requirements.txt in build.sh and Arduino build workflows, so that the packages are available for PyInstaller to include.

Verified successful flashing from Windows 10 with the output of this run: https://github.com/atvrager/coralmicro/actions/runs/4471816214