-
-
Notifications
You must be signed in to change notification settings - Fork 455
dev branch: switch to python 3.8.9 embeddable #477
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
Conversation
|
@taooceros @Zeroto521 there is no need to use where.exe or search env PATH to find the python path right? Either set it to the embeddable python executable or ask the users to point it to a python executable themselves. Flow.Launcher/Flow.Launcher.Core/Plugin/PluginsLoader.cs Lines 124 to 147 in 4909f58
|
We can keep it, unless portable is set. If portable is set, I think it would be better to let user choose whether to use the embeddable python. |
|
This doesn't prompt user at all, just silently assigns if paths has python. I think we remove it so it prompts user to download portable or chooses to set it themselves. Essentially just two options |
ok, got you. Maybe we can have another option to detect python path automatically? |
|
From a quick glance It's just grabbing the python path from PATH, there is no need to do this though, because if the user chooses to set it themselves they will know where to set it, and it may not necessarily be in path, it could be their own python env |
Well my perspective, no need to do this, because python installation could be anywhere, no point in guessing where it could be. |
|
I need some time to do this, I would keep watching this. |
|
I can get it ready, then we can test it out, if it's more intuitive to use the old code we can always add it back in |
|
I just quick test this build, working pretty well, I tested with 2 plugins, Python is downloaded silently, without a progress bar seems a bit awkward in terms of UX, but no big deal 😄 Python folder is |
deefrawley
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested, works with my CC plugin
yeah true, we can add it later, we dont have a progress bar for anything except for the query window.
yeah makes sense, will do this in another pr |
switch to using python 3.8.9 embeddable