convert rez-build to python.