-
-
Notifications
You must be signed in to change notification settings - Fork 510
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
Put SAGE_ROOT/src/bin in PATH only when invoked by SAGE_ROOT/sage or sage-build-env #32933
Comments
New commits:
|
Author: Matthias Koeppe |
This comment has been minimized.
This comment has been minimized.
Commit: |
comment:3
Is this supposed to solve a particular problem, or is it general cleanup? |
comment:4
It fixes a problem when sagemath-standard is installed in a user-defined venv. In this case, before this ticket, the installed We ran into this in #29865. The distribution sagemath-objects, as of #29865, also installs the |
comment:6
That's fine, but the idea with opening this separate ticket was that it can be reviewed separately. |
comment:8
Already merged with #29865 |
comment:9
It's better to merge it, so that the ticket description is included in the commit message. |
Reviewer: Kwankyu Lee |
Only when invoked as
SAGE_ROOT/sage
orSAGE_ROOT/src/bin/sage
, then$SAGE_ROOT/src/bin
should be put in the front ofPATH
.When the installed
sage
script,SAGE_VENV/bin/sage
, is invoked directly, it should not put$SAGE_ROOT/src/bin
on thePATH
.CC: @kwankyu @jhpalmieri
Component: scripts
Author: Matthias Koeppe
Branch/Commit:
7519048
Reviewer: Kwankyu Lee
Issue created by migration from https://trac.sagemath.org/ticket/32933
The text was updated successfully, but these errors were encountered: