INNER CODE UNIT · Python

effective_cooldown_days

pypa/pipx · src/pipx/main.py:447

    def effective_cooldown_days(self) -> int | None:
        # ``install`` takes the two apart instead, so a lock file can override
        # the machine-wide policy rather than collide with it.
        return self.cooldown_days if self.cooldown_days is not None else self.env_cooldown_days


def add_pip_venv_args(parser: argparse.ArgumentParser) -> None:
    parser.add_argument(
        "--system-site-packages",
        action="store_true",
        help="Give the virtual environment access to the system site-packages dir.",
    )
    parser.add_argument("--index-url", "-i", help="Base URL of Python Package Index")
    parser.add_argument(
        "--editable",
        "-e",
        help="Install a project in editable mode",
        action="store_true",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…