{
    "version": "2023.09-0",
    "description": "The most popular Python distribution for data science.",
    "homepage": "https://www.anaconda.com/",
    "license": "BSD-3-Clause",
    "notes": [
        "From 4.6.0, conda has built the support for Cmd, Powershell or other shells.",
        "Use \"conda init powershell\" or \"conda init __your_favorite_shell__\"",
        "",
        "Anaconda3 drops support for 32-bit CPUs from v2022.10. If you are running a 32-bit system, please install anaconda3-2022.05 from the Versions bucket.",
        "If you found the conda cannot fetch update, just run \" conda config --set ssl_verify False \" and try again."
    ],
    "architecture": {
        "64bit": {
            "url": "https://repo.anaconda.com/archive/Anaconda3-2023.09-0-Windows-x86_64.exe",
            "hash": "810da8bff79c10a708b7af9e8f21e6bb47467261a31741240f27bd807f155cb9"
        }
    },
    "pre_install": "if ($dir -match ' ') { error 'The installation directory cannot include a space'; break}",
    "installer": {
        "script": [
            "warn 'Installing Anaconda 3. This can take up to 30 minutes on an HDD.'",
            "# The installer will not work properly when args are quoted (e.g. \"`\"/S`\"\")",
            "Start-Process \"$dir\\$fname\" -ArgumentList @('/S', '/InstallationType=JustMe', '/RegisterPython=1', '/AddToPath=0', '/NoRegistry=1', \"/D=$dir\\App\") -Wait"
        ]
    },
    "post_install": "Remove-Item \"$dir\\$fname\"",
    "env_add_path": "App\\Scripts",
    "bin": [
        "App\\python.exe",
        "App\\pythonw.exe",
        [
            "App\\python.exe",
            "python3"
        ]
    ],
    "persist": "App\\envs",
    "uninstaller": {
        "script": [
            "Start-Process \"$dir\\App\\Uninstall-Anaconda3.exe\" -ArgumentList '/S' -Wait",
            "# Create a 'dummy' to avoid error because the uninstaller removes the symlink. The does not affect persist.",
            "ensure \"$dir\\App\\envs\" | Out-Null"
        ]
    },
    "checkver": {
        "url": "https://docs.anaconda.com/free/anaconda/reference/hashes/win-3-64/",
        "regex": "Anaconda3-([\\d.-]+)-Windows"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://repo.anaconda.com/archive/Anaconda3-$version-Windows-x86_64.exe",
                "hash": {
                    "url": "https://docs.anaconda.com/free/anaconda/reference/hashes/Anaconda3-$version-Windows-x86_64.exe-hash/",
                    "regex": "$sha256"
                }
            }
        }
    }
}
