This is quite simple at the moment, the success/failure callbacks aren't being used/
…ild. There are a few things missing but it's a start.
Few more modifications: - promote bindist tarballs, we want them in the cache as well if possible. - don't overwrite an existing cached tarball. - use shutil.move rather than os.rename, in case src and dest aren't on the same filesystem (only happens with bindist for now).
Also, make Tarball.create() static method return a Tarball object.
As planned, this is calling the shell scripts for now.
There's obviously a lot of placeholder code. I'll most likely start by calling existing scripts then rewrite them in python one by one.