Move a bunch of build.py functionality into functions that could be used by external project
Move a bunch of build.py functionality into functions that could be used by external project

whitingjp/whitgl,whitingjp/whitgl,whitingjp/whitgl,whitingjp/whitgl