def test_show_installer(script, data):
    wheel_file = data.packages.join('simple.dist-0.1-py2.py3-none-any.whl')
    script.pip('install', '--no-index', wheel_file)
    result = script.pip('show', 'simple.dist')
    lines = result.stdout.split('\n')
    assert 'Name: simple.dist' in lines
    assert 'Installer: pip' in lines
Test that the installer is shown (this currently needs a wheel install)
dataset/ETHPy150Open pypa/pip/tests/functional/test_show.py/test_show_installer