Installing from tarball to Mac

I’d like get ansible installed on Macs that are not connected to the Internet. I’ve downloaded the tarball and am trying to install it on one that is connected to the Internet to find everything I need, but am getting a raft of errors. I need to be able to find and install all dependencies and not depend upon the installer to do that for me, as it will not be able to “reach out” from my target environment.

Most of the output is copying and compiling, and that seems to work just fine. The errors all seem to be in the last fifth of the output or so, when it’s trying to install dependencies.

http://www.john-oliver.net/ansible_errors.txt

It looks like pycrypto has a dependency for libgmp which isn’t being satisfied by this install process. That may be the only problem, but I noticed that pyasn1 is downloaded as an ‘egg’, and then things are done with this “egg”, and that’s a back box for me. I can probably manually install tarball after tarball and get all of that working and scripted. But the installer, as is, clearly has some problem, and if it needs libgmp installed first, it should either install it or at least say “I need this, it isn’t there, I’m exiting”.

If there’s a better way, I’d love to hear it. The more I look at this, the more of a PITA it looks like, and I’m afraid that any update will start a chain reaction of other required updates.