Use command-line tar instead of shutil.make_archive because the latter is too slow.
Create cache directory if it doesn't exist.
Update packages on the server only if "update" is specified.
Unpack amplide in a temporary dir.