[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pip as an importable module?

> Pip doesn't have a programming API, so no, you can't do this. Having
> said that, it looks like pip-conflict-checker only uses
> `pip.get_installed_distributions`, and setuptools (pkg_resources,
> specifically) has an API that does this, so you could probably
> relatively easily fix the code to use that.

Thanks, that is indeed easily done.