* The proper way to do this is to upgrade globally with the get_pip.py script
and the distribute_setup.py script, and then create the virtualenv with:
$ . $(which virtualenvwrapper.sh)
$ WORKON_HOME=~/.virtualenvs && export WORKON_HOME
$ mkvirtualenv -a $PWD -r requirements.txt --unzip-setuptools \
--distribute --no-site-packages gnupg
* These classes also play a few other tricks, like the steps taken to disable
pinentry if GPG.use_agent=False:
1) detect if gpg-agent is running for the same EUID as python,
and if it is then
2) find out if the user wants us to use it, and if they don't then
3) find if pinentry is installed, and if it is then
4) modify the system PATH to exclude the directory where pinentry is,
symlinking out gpg if gpg was in the same directory, and then
5) register an _exithandler with the interpreter to replace the
original environment when the interpreter exits.