示例#1
0
def get_level1_dependencies(package_name):
    from infi.pypi_manager.depends import get_dependencies

    return [dep for dep in get_dependencies(package_name) if dep[0] and dep[0].startswith(package_name)]
def get_dependencies():
    from infi.pypi_manager import depends
    name = get_name()
    return [item[1] for item in depends.get_dependencies(get_name())]