def is_installable_dir(path):
    if not os.path.isdir(path):
        return False
    setup_py = os.path.join(path, 'setup.py')
    if os.path.isfile(setup_py):
        return True
    return False
Given a log level from a --loglevel arg, set the root logger's level.
dataset/ETHPy150Open balanced/status.balancedpayments.com/venv/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/util.py/is_installable_dir--crossover with--dataset/ETHPy150Open gtaylor/EVE-Market-Data-Relay/emdr/core/command_utils.py/set_logger_level