Using easy_install to install foolscap with its ability to have secure connections fails because foolscap doesn't declare its dependency on pyOpenSSL, although it does declare its dependency on twisted:
setup.py
We could define, in setuptools terms an "extra" feature of foolscap, which is secure connections.
http://peak.telecommunity.com/DevCenter/setuptools#declaring-extras-optional-features-with-their-own-dependencies
This could be expressed in the setup.py as something like this:
extras_require = {
'secure_connections': ["pyOpenSSL>=0.6"],
}
However it might be better to simply make foolscap always require pyOpenSSL (and for that matter it might be better to make it always create and use secure connections). This idea in the general case has been persuasively advocated by Ian Grigg: There Is Only One Mode And It Is Secure..
In order to do that, of course, we simply need add "pyOpenSSL >= 0.6" to the list of install_requires in the setup.py.