-
-
Notifications
You must be signed in to change notification settings - Fork 527
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
src/bin/sage-env: Make SAGE_ROOT and SAGE_LOCAL optional #29951
Comments
Dependencies: #25486 |
This comment has been minimized.
This comment has been minimized.
Changed dependencies from #30128 to none |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Author: Matthias Koeppe |
New commits:
|
Commit: |
This comment has been minimized.
This comment has been minimized.
comment:10
Needs review. |
comment:11
Hoping to get some feedback whether this change is helpful for distribution packaging |
comment:12
I cannot talk about other distros. I have stopped using and shipping
For the rest, whatever is in The main issue is that a lot of stuff in there is not that useful at runtime. You need |
comment:13
same here, haven't installed sage-env for a long time |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:19
Let's get this in please, as a path toward unpatched installation of sagelib in downstream packaging. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Reviewer: Dima Pasechnik |
comment:22
lgtm |
comment:24
Thank you for thinking of distribution needs. Speaking for Fedora, I am in favor of this change. |
comment:25
Thanks for the review! |
Changed reviewer from Dima Pasechnik to Dima Pasechnik, Jerry James |
Changed branch from u/mkoeppe/src_bin_sage_env__make_sage_env_config_and_sage_local_optional to |
We make
SAGE_ROOT
andSAGE_LOCAL
optional. If one is unset, we skip setting the various environment variables that depend on it.This change hopefully simplifies distribution packaging, with the goal of allowing unmodified scripts
src/bin/sage
andsrc/bin/sage-env
to be shipped.See also:
src/bin/sage-env
: Make sureSAGE_SCRIPTS_DIR
is at the beginning of thePATH
sage-env-config
as part ofsage_conf
; makesage-env-config
optionalsage-env
into 5 to clean up sage configurationCC: @kiwifb @orlitzky @antonio-rojas @isuruf @tobihan @jhpalmieri @jamesjer
Component: scripts
Author: Matthias Koeppe
Branch/Commit:
c8e6910
Reviewer: Dima Pasechnik, Jerry James
Issue created by migration from https://trac.sagemath.org/ticket/29951
The text was updated successfully, but these errors were encountered: