Install Python Fabric Library on Mac 10.6 (Snow Leopard)
I've been doing a lot of Python work lately to manage a butt-load of Linux servers and I've been using the Fabric Library to help me connect remotely and securely. I had some problems getting the library and dependencies to install on my Mac laptop so here is what I did. Add a reply if there is an easier way.
> sudo easy_install pip # PIP is recommended for installation
> sudo -s # Creates a new sudo shell
> export ARCHFLAGS="-arch i386 -arch x86_64" # Need to set some GCC flags
> pip install fabric # Get the install on
Props go to these guys and stackoverflow for helping out.