How to use the twine._installed.Installed function in twine

To help you get started, we’ve selected a few twine examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pypa / twine / twine / cli.py View on Github external
def list_dependencies_and_versions() -> List[Tuple[str, str]]:
    return [
        ("pkginfo", _installed.Installed(pkginfo).version),
        ("requests", requests.__version__),
        ("setuptools", setuptools.__version__),
        ("requests-toolbelt", requests_toolbelt.__version__),
        ("tqdm", tqdm.__version__),
    ]
github pypa / twine / twine / cli.py View on Github external
def list_dependencies_and_versions() -> List[Tuple[str, str]]:
    return [
        ("pkginfo", _installed.Installed(pkginfo).version),
        ("requests", requests.__version__),
        ("setuptools", setuptools.__version__),
        ("requests-toolbelt", requests_toolbelt.__version__),
        ("tqdm", tqdm.__version__),
    ]