mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-30 12:34:27 +00:00
56 lines
1.7 KiB
JSON
56 lines
1.7 KiB
JSON
{
|
|
"version": "0.40.0",
|
|
"description": "A comprehensive project and package management solution for Python",
|
|
"homepage": "https://rye.astral.sh/",
|
|
"license": "MIT",
|
|
"suggest": {
|
|
"vcredist": "extras/vcredist2022"
|
|
},
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/astral-sh/rye/releases/download/0.40.0/rye-x86_64-windows.exe#/rye.exe",
|
|
"hash": "901909b2d04bbb5df61290d985404a458fa76ddcba44fc6fb2c0d52f6282304f"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/astral-sh/rye/releases/download/0.40.0/rye-x86-windows.exe#/rye.exe",
|
|
"hash": "2e1b400456cde2a5d118e4ec162c70d46f651b46e656d7ad0a16b32b7d15ef00"
|
|
}
|
|
},
|
|
"pre_install": [
|
|
"if (!(Test-Path \"$persist_dir\\config.toml\")) {",
|
|
" New-Item -Path \"$dir\\config.toml\" | Out-Null",
|
|
"}"
|
|
],
|
|
"post_install": [
|
|
"& \"$dir\\rye.exe\" self install --yes",
|
|
"Remove-Item \"$dir\\rye.exe\""
|
|
],
|
|
"env_add_path": "shims",
|
|
"env_set": {
|
|
"RYE_HOME": "$persist_dir"
|
|
},
|
|
"persist": [
|
|
"self",
|
|
"shims",
|
|
"py",
|
|
"tools",
|
|
"config.toml"
|
|
],
|
|
"checkver": {
|
|
"github": "https://github.com/astral-sh/rye"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/astral-sh/rye/releases/download/$version/rye-x86_64-windows.exe#/rye.exe"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/astral-sh/rye/releases/download/$version/rye-x86-windows.exe#/rye.exe"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$url.sha256"
|
|
}
|
|
}
|
|
}
|