Fixes mackup formula to use suggested Python packaging

Problems with the current mackup formula were reported in lra/mackup#330
and pull request #32833 was submitted by @lra to address them.  However,
it was suggested to use a different approach that is more standard for
stand-alone Python scripts.  This patch applies the suggested changes.