コード例 #1
0
def factory(finder: PackageFinder,
            preparer: RequirementPreparer) -> Iterator[Factory]:
    yield Factory(
        finder=finder,
        preparer=preparer,
        make_install_req=install_req_from_line,
        wheel_cache=None,
        use_user_site=False,
        force_reinstall=False,
        ignore_installed=False,
        ignore_requires_python=False,
        py_version_info=None,
    )
コード例 #2
0
ファイル: conftest.py プロジェクト: huangyipei-cell/pip
def factory(finder, preparer):
    yield Factory(
        finder=finder,
        preparer=preparer,
        make_install_req=install_req_from_line,
    )