未验证 提交 fedb818c 编写于 作者: F Frost Ming

add checksum to doc

上级 87595dc3
......@@ -52,9 +52,9 @@ Read more about the specification [here](https://www.python.org/dev/peps/pep-058
- A full-featured plug-in system.
- [PEP 621] project metadata format.
[PEP 517]: https://www.python.org/dev/peps/pep-0517
[PEP 582]: https://www.python.org/dev/peps/pep-0582
[PEP 621]: https://www.python.org/dev/peps/pep-0621
[pep 517]: https://www.python.org/dev/peps/pep-0517
[pep 582]: https://www.python.org/dev/peps/pep-0582
[pep 621]: https://www.python.org/dev/peps/pep-0621
## Why not virtualenv?
......@@ -88,6 +88,9 @@ curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py -UseBasicParsing).Content | python -
```
For security reasons, you should verify the checksum.
The sha256 checksum is: `70ac95c53830ff41d700051c9caebd83b2b85b5d6066e8f853006f9f07293ff0`
The installer will install PDM into the user site and the location depends on the system:
- `$HOME/.local/bin` for Unix
......
......@@ -84,6 +84,9 @@ curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py -UseBasicParsing).Content | python -
```
为安全起见,你应该检查文件的正确性。
SHA256 校验和: `70ac95c53830ff41d700051c9caebd83b2b85b5d6066e8f853006f9f07293ff0`
默认情况下,此脚本会将 PDM 安装在 Python 的用户目录下,具体位置取决于当前系统:
- Unix 上是 `$HOME/.local/bin`
......
......@@ -44,6 +44,9 @@ Like Pip, PDM provides an installation script that will install PDM into an isol
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py -UseBasicParsing).Content | python -
```
For security reasons, you should verify the checksum.
The sha256 checksum is: `70ac95c53830ff41d700051c9caebd83b2b85b5d6066e8f853006f9f07293ff0`
The installer will install PDM into the user site and the location depends on the system:
- `$HOME/.local/bin` for Unix
......@@ -66,7 +69,6 @@ optional arguments:
You can either pass the options after the script or set the env var value.
### Other installation methods
=== "Homebrew"
......
......@@ -35,9 +35,10 @@ nav:
markdown_extensions:
- pymdownx.highlight:
linenums: true
- pymdownx.tabbed
- pymdownx.details
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true
- pymdownx.details
- admonition
- tables
- toc:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册