|
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) |
|
◆ __init__()
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 |
|
) |
| |
◆ get_installation_order()
def get_installation_order |
( |
|
self, |
|
|
|
req_set |
|
) |
| |
Get order for installation of requirements in RequirementSet.
The returned list contains a requirement before another that depends on
it. This helps ensure that the environment is kept consistent as they
get installed one-by-one.
The current implementation creates a topological ordering of the
dependency graph, while breaking any cycles in the graph at arbitrary
points. We make no guarantees about where the cycle would be broken,
other than they would be broken.
Reimplemented from BaseResolver.
◆ resolve()
def resolve |
( |
|
self, |
|
|
|
root_reqs, |
|
|
|
check_supported_wheels |
|
) |
| |
◆ factory
◆ ignore_dependencies
◆ upgrade_strategy
The documentation for this class was generated from the following file:
- /home/passerat/Stage/flaskProject/venv/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/resolver.py