/
miniconda3-py310.json
63 lines (63 loc) 路 2.63 KB
/
miniconda3-py310.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"version": "24.3.0-0",
"description": "A cross-platform, Python-agnostic binary package manager",
"homepage": "https://conda.io/miniconda.html",
"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__\"",
"",
"Miniconda3 drops support for 32-bit CPUs from v22.9.0. If you are running a 32-bit system, please install miniconda3-4.12.0 from the Versions bucket."
],
"architecture": {
"64bit": {
"url": "https://repo.anaconda.com/miniconda/Miniconda3-py310_24.3.0-0-Windows-x86_64.exe#/setup.exe",
"hash": "5c683a007e5383b1a566c15c25972b35f33bc2c9252333c82dbd94513173321e"
}
},
"pre_install": "if ($dir -match ' ') { error 'The installation directory cannot include a space'; break}",
"installer": {
"script": [
"# Using Start-Process as a workaround because the installer will not work properly when args are quoted (e.g. \"`\"/S`\"\")",
"# Move the installer to the upper directory to avoid the error \"The installatiom directory is not empty.\"",
"Move-Item \"$dir\\setup.exe\" \"$dir\\..\\setup.exe\" | Out-Null",
"Start-Process \"$dir\\..\\setup.exe\" -ArgumentList @('/S', '/InstallationType=JustMe', '/RegisterPython=0', '/AddToPath=0', '/NoRegistry=1', \"/D=$dir\") -Wait | Out-Null"
]
},
"post_install": "Remove-Item \"$dir\\..\\setup.exe\" -Force | Out-Null",
"uninstaller": {
"script": [
"Start-Process \"$dir\\Uninstall-Miniconda3.exe\" -ArgumentList '/S' -Wait | Out-Null",
"# Create a 'dummy' to avoid error because the uninstaller removes the symlink. The does not affect persist.",
"if (!(Test-Path \"$dir\\envs\")) { New-Item \"$dir\\envs\" -ItemType Directory | Out-Null }"
]
},
"bin": [
"python.exe",
"pythonw.exe",
[
"python.exe",
"python3"
]
],
"env_add_path": [
"scripts",
"Library\\bin"
],
"persist": "envs",
"checkver": {
"url": "https://repo.anaconda.com/miniconda/",
"regex": "Miniconda3-py310_([\\d.-]+)-Windows"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://repo.anaconda.com/miniconda/Miniconda3-py310_$version-Windows-x86_64.exe#/setup.exe"
}
},
"hash": {
"url": "https://repo.anaconda.com/miniconda/",
"regex": "(?sm)$basename.*?>$sha256<"
}
}
}