Skip to content

Commit

Permalink
Merge pull request #522 from pdm-project:doc/scoop
Browse files Browse the repository at this point in the history
Add install instructions for scoop
  • Loading branch information
frostming authored Jun 30, 2021
2 parents 20ef844 + fcda876 commit 659eb9c
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,13 @@ If you are on MacOS and using `homebrew`, install it by:
$ brew install pdm
```

If you are on Windows and using [Scoop](https://scoop.sh/), install it by:

```
PS> scoop bucket add frostming https://github.com/frostming/scoop-frostming.git
PS> scoop install pdm
```

Otherwise, it is recommended to install `pdm` in an isolated environment with `pipx`:

```bash
Expand Down
9 changes: 8 additions & 1 deletion README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,19 @@ optional arguments:

## 其他安装方法

如果你使用的是 MacOS 并且安装了 `homebrew`:
如果你使用的是 MacOS 并且安装了 `homebrew`

```bash
$ brew install pdm
```

如果你在Windows上使用 [Scoop](https://scoop.sh/), 运行以下命令安装:

```
PS> scoop bucket add frostming https://github.com/frostming/scoop-frostming.git
PS> scoop install pdm
```

否则,强烈推荐把 `pdm` 安装在一个隔离环境中, 用 `pipx` 是坠吼的。

```bash
Expand Down
7 changes: 7 additions & 0 deletions docs/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ If your are on MacOS and using `homebrew`, install it by:
$ brew install pdm
```

If you are on Windows and using [Scoop](https://scoop.sh/), install it by:

```
PS> scoop bucket add frostming https://github.com/frostming/scoop-frostming.git
PS> scoop install pdm
```

Otherwise, to avoid messing up with the system Python environment, the most recommended way to install PDM
is via [pipx](https://pypi.org/project/pipx):

Expand Down
1 change: 1 addition & 0 deletions news/522.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix the path manipulation on Windows, now the PEP 582 path is prepended to the `PYTHONPATH`.
1 change: 1 addition & 0 deletions news/522.doc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add installation instructions for Scoop.

0 comments on commit 659eb9c

Please sign in to comment.