Generic build system written in python