3

Support the `--path` parameter when calling `pip list` by tetsuo-cpp · Pull Requ...

 2 years ago
source link: https://github.com/di/pip-api/pull/112
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Copy link

Contributor

tetsuo-cpp commented on Dec 1, 2021

Closes #111

README.md

Outdated

@@ -19,13 +19,14 @@ If the command you are trying to use is not compatible, `pip_api` will raise a

* `pip_api.version()`

> Returns the `pip` version as a string, e.g. `"9.0.1"`

* `pip_api.installed_distributions(local=False)`

* `pip_api.installed_distributions(local=False, paths=[])`

Since technically this isn't "available with all pip versions" anymore, I'm trying to decide if we should move this to a new section "Available with pip>=19.2", just add a note here, or something else. Thoughts?

Copy link

Contributor

Author

@tetsuo-cpp tetsuo-cpp on Dec 2, 2021

How's this? I list it twice but only document the paths parameter under the pip>=19.2 heading.

d25b144


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK