def install_requirements(deployed=False):
    require('release_path')
    require('virtualenv')

    with settings(cd(env.release_path), warn_only=True):
        virtualenv_exists = exists('%(virtualenv)s' % env)
    if (deployed or not virtualenv_exists or
            confirm(yellow("Reinstall Python dependencies?"), default=True)):
        _install_pip_requirements()
        for package in _read_private_requirements():
            _install_private_package(*package)
        _install_manual_packages()
        return True
    return False
Create a TCP socket with or without IPv6 depending on system support
dataset/ETHPy150Open bueda/ops/buedafab/deploy/packages.py/install_requirements--crossover with--dataset/ETHPy150Open mopidy/mopidy/mopidy/internal/network.py/create_socket