'Verify that the runtime environment is acceptable.
This method is called as part of __init__ and raises a RuntimeError
in Python3 or PyPi environments. This module is not compatible with
Python3 or PyPi. The RuntimeError identifies this to the user up
front along with suggesting Python 2.6+ be used instead.
This method also checks that the dependencies qpidtoollibs and
qpid.messaging are installed. If either one is not installed a
RuntimeError is raised.
:raises: RuntimeError if the runtime environment is not acceptable.'

def verify_runtime_environment(self):

    if getattr(sys, u'pypy_version_info', None):
        raise RuntimeError(u'The    Qpid    transport    for    Kombu    does    not    support    PyPy.    Try    using    Python    2.6+')
    if PY3:
        raise RuntimeError(u'The    Qpid    transport    for    Kombu    does    not    support    Python    3.    Try    using    Python    2.6+')
    if dependency_is_none(qpidtoollibs):
        raise RuntimeError(u'The    Python    package    "qpidtoollibs"    is    missing.    Install    it    with    your    package    manager.    You    can    also    try    `pip    install    qpid-tools`.')
    if dependency_is_none(qpid):
        raise RuntimeError(u'The    Python    package    "qpid.messaging"    is    missing.    Install    it    with    your    package    manager.    You    can    also    try    `pip    install    qpid-python`.')
