def test(options, buildout):
    from subprocess import Popen, PIPE
    import os
    import sys

    python = options['python']
    if not os.path.exists(python):
        raise IOError("There is no file at %s" % python)
    if sys.platform == 'darwin':
        output = Popen([python, "-c", "import platform; print (platform.mac_ver())"], stdout=PIPE).communicate()[0]
        if not output.startswith("('10."):
            raise IOError("Your python at %s doesn't return proper data for platform.mac_ver(), got: %s" % (python, output))

@@ -531,8 +531,343 @@
 utput))%0A
+    elif sys.platform == 'linux2' and (2, 4) %3C= sys.version_info %3C (2, 5):%0A        output = Popen(%5Bpython, %22-c%22, %22import socket; print (hasattr(socket, 'ssl'))%22%5D, stdout=PIPE).communicate()%5B0%5D%0A        if not output.startswith(%22True%22):%0A            raise IOError(%22Your python at %25s doesn't have ssl support, got: %25s%22 %25 (python, output))%0A

Check if the installed python2.4 have ssl support.