mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-01 06:11:20 +00:00
* Add missing `PYENV_HOME` and `PYENV_ROOT` env var as they are required by pyenv-win configuration https://github.com/pyenv-win/pyenv-win#add-system-settings and used by some external tools (like `pyenv-win-venv` * Use the included script for all shells instead of scoop shims by adding the folder to PATH * Update bucket/pyenv.json Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com> Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com>
42 lines
1.4 KiB
JSON
42 lines
1.4 KiB
JSON
{
|
|
"version": "3.1.1",
|
|
"description": "Simple python version management tool for switching between multiple versions of Python.",
|
|
"homepage": "https://pyenv-win.github.io/pyenv-win/",
|
|
"license": "MIT",
|
|
"notes": "You can specify the PYTHON_BUILD_MIRROR_URL environment variable and run 'pyenv update' to speed up downloads.",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/pyenv-win/pyenv-win/archive/v3.1.1.zip",
|
|
"hash": "a7481ccaf1f2328702e4a854a65793e95639f40dc63dd89782d160536f6b1ed0",
|
|
"extract_dir": "pyenv-win-3.1.1"
|
|
}
|
|
},
|
|
"pre_install": "if (!(Test-Path \"$persist_dir\\pyenv-win\\version\")) { New-Item \"$dir\\pyenv-win\\version\" | Out-Null }",
|
|
"env_add_path": [
|
|
"pyenv-win\\bin",
|
|
"pyenv-win\\shims"
|
|
],
|
|
"env_set": {
|
|
"PYENV": "$dir\\pyenv-win",
|
|
"PYENV_ROOT": "$dir\\pyenv-win",
|
|
"PYENV_HOME": "$dir\\pyenv-win"
|
|
},
|
|
"persist": [
|
|
"pyenv-win\\version",
|
|
"pyenv-win\\shims",
|
|
"pyenv-win\\versions",
|
|
"pyenv-win\\install_cache"
|
|
],
|
|
"checkver": {
|
|
"github": "https://github.com/pyenv-win/pyenv-win"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/pyenv-win/pyenv-win/archive/v$version.zip",
|
|
"extract_dir": "pyenv-win-$version"
|
|
}
|
|
}
|
|
}
|
|
}
|