-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
PR: Don't use hard-coded path to Python in script shebang used to launch Spyder #22668
Conversation
This allows spyder to work in other environments which have python installed in a different directory.
Hey @Flamefire, thanks for your contribution! Could you describe in which cases this change would be helpful? It's just that I find a bit strange that this hasn't been reported before by Linux package maintainers. |
There they install also Python into the used location, so that isn't an issue. We are using this in HPC (High Performance Computing) where we install our own Python to control all dependencies and their versions. The So when there is only /usr/bin/python3 this does not change anything. When there is another Something concrete for end-users outside our use case: From what I know it is good practice in general to use the |
Ok, thanks for the extra info and clarifications @Flamefire. Then I think this is a sensible change and we'll include it in 6.0.2, to be released in a week and a half. |
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.
Thanks @Flamefire!
@meeseeksdev please backport to 6.x |
… in script shebang used to launch Spyder
…thon in script shebang used to launch Spyder) (#22676)
Don't use hard-coded path to python in shebang.
This allows spyder to work in other environments which have python installed in a different directory.
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.
I certify the above statement is true and correct: Flamefire