OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, preparer, finder, wheel_cache, make_install_req, use_user_site, ignore_dependencies, ignore_installed, ignore_requires_python, force_reinstall, upgrade_strategy, py_version_info=None) |
def | resolve (self, root_reqs, check_supported_wheels) |
def | get_installation_order (self, req_set) |
Data Fields | |
preparer | |
finder | |
wheel_cache | |
upgrade_strategy | |
force_reinstall | |
ignore_dependencies | |
ignore_installed | |
ignore_requires_python | |
use_user_site | |
Resolves which packages need to be installed/uninstalled to perform \ the requested operation without breaking the requirements of any package.
def __init__ | ( | self, | |
preparer, | |||
finder, | |||
wheel_cache, | |||
make_install_req, | |||
use_user_site, | |||
ignore_dependencies, | |||
ignore_installed, | |||
ignore_requires_python, | |||
force_reinstall, | |||
upgrade_strategy, | |||
py_version_info = None |
|||
) |
def get_installation_order | ( | self, | |
req_set | |||
) |
Create the installation order. The installation order is topological - requirements are installed before the requiring thing. We break cycles at an arbitrary point, and make no other guarantees.
Reimplemented from BaseResolver.
def resolve | ( | self, | |
root_reqs, | |||
check_supported_wheels | |||
) |
Resolve what operations need to be done As a side-effect of this method, the packages (and their dependencies) are downloaded, unpacked and prepared for installation. This preparation is done by ``pip.operations.prepare``. Once PyPI has static dependency metadata available, it would be possible to move the preparation to become a step separated from dependency resolution.
Reimplemented from BaseResolver.
finder |
force_reinstall |
ignore_dependencies |
ignore_installed |
ignore_requires_python |
preparer |
upgrade_strategy |
use_user_site |
wheel_cache |