INNER CODE UNIT · Python

environment_command

PKU-EMBL/BASALT · BASALT_setup_China_mainland.py:399

def environment_command(
    manager: str,
    executable: str,
    env_name: str,
    environment_file: Path,
    exists: bool,
    update: bool,
    offline: bool,
) -> List[str]:
    """Build a create/update command for the selected manager."""
    if exists and not update:
        return []

    if exists:
        command = [
            executable,
            "env",
            "update",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…