WIP converting build to python