/
pdm.json
31 lines (31 loc) · 1.29 KB
/
pdm.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
{
"homepage": "http://pdm.fming.dev",
"version": "2.15.1",
"license": "MIT",
"url": "https://files.pythonhosted.org/packages/df/8a/57c34148b0a72596febfa8d0743cea8eb80b0972cfae025ed49f2aa0d876/pdm-2.15.1-py3-none-any.whl",
"depends": "python",
"hash": "4a6cb2061796ac03760b2d3a546c3b9029ba6fa37e494fc0c9503b26e3fa93a5",
"bin": "venv\\Scripts\\pdm.exe",
"installer": {
"script": [
"python -m venv \"$dir\\venv\"",
"& \"$dir\\venv\\Scripts\\python.exe\" -m pip install \"$dir\\$fname\""
]
},
"post_install": "& \"$dir\\venv\\Scripts\\pdm.exe\" --pep582",
"uninstaller": {
"script": [
"$oldPath = [Environment]::GetEnvironmentVariable(\"PYTHONPATH\", [System.EnvironmentVariableTarget]::User)",
"$newPath = ($oldPath.Split(';') | Where { $_ -notlike \"$dir\\venv\\*\" }) -join ';'",
"[Environment]::SetEnvironmentVariable(\"PYTHONPATH\", $newPath, [System.EnvironmentVariableTarget]::User)"
]
},
"checkver": {
"url": "https://pypi.org/project/pdm/#files",
"re": "https://files.pythonhosted.org/(packages/.*/pdm-(?<version>[\\d.]+)-.*\\.whl)",
"replace": "${version}"
},
"autoupdate": {
"url": "https://files.pythonhosted.org/$match1"
}
}