henon / Python.Included

A Python.NET based framework enabling .NET libraries to call into Python packages without depending on a local Python installation.
MIT License
321 stars 52 forks source link

`TryInstallPip` should return true if `pip` is already installed #42

Closed JimiC closed 2 years ago

JimiC commented 2 years ago

In my opinion, the returned value of IsPipInstalled should be returned.

On first use, TryInstallPip returns true but if you call it again when pip is already installed it returns false. I'm expecting the return value to be true if pip is already installed.

henon commented 2 years ago

Done

https://www.nuget.org/packages/Python.Deployment/1.5.0 https://www.nuget.org/packages/Python.Included/3.10.0-preview5