()
return sorted(install_requires)
Get the conditional dependencies for source distributions.
Get the conditional dependencies for source distributions.
Get the conditional dependencies for source distributions .
def get_install_requires():
    """Get the conditional dependencies for source distributions."""
    install_requires = get_requirements('requirements.txt')
    if 'bdist_wheel' not in sys.argv:
        if sys.version_info[:2] == (2, 6):
            # flufl.enum 4.1 drops Python 2.6 compatibility.
            install_requires.append('flufl.enum >= 4.0.1, < 4.1')
        elif sys.version_info[:2] < (3, 4):
            install_requires.append('flufl.enum >= 4.0.1')
    return sorted(install_requires)
def get_install_requires ( ) : install_requires = get_requirements ( 'requirements.txt' ) if 'bdist_wheel' not in sys . argv : if sys . version_info [ : 2 ] == ( 2 , 6 ) : # flufl.enum 4.1 drops Python 2.6 compatibility. install_requires . append ( 'flufl.enum >= 4.0.1, < 4.1' ) elif sys . version_info [ : 2 ] < ( 3 , 4 ) : install_requires . append ( 'flufl.enum >= 4.0.1' ) return sorted ( install_requires )