BaseTools: Treat Ecc.py as a python module