Clean up setup.py.
Clean up setup.py.

 * Move interleaved top level logic to the bottom of the file.
 * Consistently raise errors when problems occur.
 * Use subprocess.run(cmd, check=True) to avoid manual error handling.

PiperOrigin-RevId: 378985749

google/tink,google/tink,google/tink,google/tink,google/tink,google/tink,google/tink,google/tink