Skip to content

Commit ab96f9c

Browse files
committed
remove load_or_install, centralise install_root / bin_dir handling, cleanup nested provider handling
1 parent 05e466f commit ab96f9c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ provider = PipProvider(install_root=Path("/tmp/venv")).get_provider_with_overrid
654654

655655
Providers with isolated install locations also expose a shared constructor surface:
656656

657-
- `install_root`: shared alias for provider-specific roots such as `pip_venv`, `npm_prefix`, `cargo_root`, `gem_home`, `gopath`, `nix_profile`, `docker_shim_dir.parent`, and `brew_prefix`.
657+
- `install_root`: shared alias for provider-specific roots such as `pip_venv`, `npm_prefix`, `cargo_root`, `gem_home`, `gopath`, `nix_profile`, `docker_root`, and `brew_prefix`.
658658
- `bin_dir`: shared alias for providers that separate package state from executable output, such as `gem_bindir`, `gobin`, and `docker_shim_dir`.
659659
- `provider.install_root` / `provider.bin_dir`: normalized computed properties you can inspect after construction, regardless of which provider-specific args were used.
660660
- Legacy provider-specific args still work. The shared aliases are additive, not replacements.

docs/generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@
462462
"docker": [
463463
{
464464
"name": "ABX_PKG_DOCKER_ROOT",
465-
"description": "Overrides docker_shim_dir parent.",
465+
"description": "Overrides docker_root / install_root.",
466466
},
467467
],
468468
"brew": [

0 commit comments

Comments
 (0)