but like the "deploy" then is just:
- build the new pex locally (which makes use of local and remote caches to only read new file/3rdparty inputs)
- ensure the local cache on the build machine is then synced with the remote machine (this could be done within pex too maybe)
- send over a json file to the remote machine with the checksummed inputs json file
- invoke pex on the remote machine with the exact same command line as on your local machine, and everything will be resolved from the local or remote cache (there's a flag to make it avoid trying to pull any files from the filesystem), very quickly, in parallel