prebuild.py — small fixes
The main change is the c6e4e455 — undefined vars fixed. The rest are small changes/improvements:
- Extra libs extraction routine improved a bit;
- Text output improved (
print
wrappers added); - The code is checked with a linter (
flake8
); - and is autoformatted with
yapf
.