-
Notifications
You must be signed in to change notification settings - Fork 447
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
Support installation via pip
#18634
Comments
We're in favor of this and it has come up multiple times. The Python team at Microsoft made a request to us to do just this within the last year. We haven't been able to make this happen, as the team (who would do this) has been quite busy on some other more immediately .NET-centric projects. I'm hoping we can eventually make this happen. For context, when we do projects like this, we invest up-front in industrial-strength automation so that we have confidence in regular delivery and to ensure low operational costs. That cost is the real issue. We support publishing to many systems, and this model is what enables us to scale. For further context, we've had good success working with distro maintainers on getting .NET into Linux (and hombrew). https://github.com/dotnet/core/blob/main/linux.md |
One controversial thought: if you manage to distribute dotnetcore via PyPi, it might be an interesting idea to also ship PythonNet package with it because it might be actually useful for people using |
That's only a "controversial idea" if you suggest we should take someone else's package and ship it as our own ;-) We don't have anything to do with pythonnet development (apart from occasionally helping with more obscure debugging), but we'd certainly hope that the pythonnet team would consider relying on our .NET package if/when we start updating it more reliably. |
Yeah, one way or the other :) I guess pythonnet is currently targeted on using any existing dotnet installation and auto-installing dotnet would add another On the other hand, dotnet could take a dependency on it. But the controversial point may be that taking it as a hard dependency might on a relatively non-core package is not good from release management standpoint (as some hard bugs or python version support might hinder planned dotnet releases) Also, as a feedback for educational/interactive/scripting purposes, it would be great to have simple user-facing Roslyn interface for compiling the code into a byte array and Assembly.Load-ing it into memory: pythonnet/pythonnet#2196 (comment) Also It's a pain to figure out the path to |
@vadimkantorov I think you're thinking about this the wrong way around. This package would be most useful for Python packages that include some .NET module and want to be able to run it, but from the user's POV, they're only using Python. The Similarly, |
Please kindly consider releasing a |
I'm wondering how this effort is going. Is there an update? This would be an extremely useful capability for me. |
@richlander Is this repo the up-to-date place for issues? in README is advised to continue in https://github.com/dotnet/sdk... If this |
Also, for |
Old issue triage: @claudiaregio I believe you're working on or aware of an anaconda effort in this space. Any updates or links to that? |
Currently there is only a package
dotnetcore2
which curiously installs dotnetcore 3.1 :) https://pypi.org/project/dotnetcore2/It would be great to support installing via pip of more recent .net core 7/8 in addition to other systemwide package managers
The text was updated successfully, but these errors were encountered: