Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add install instructions for scoop #522

Merged
merged 2 commits into from
Jun 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.