-
-
Notifications
You must be signed in to change notification settings - Fork 657
Description
-
sage.all
should be importable and mostly usable even if no environment variables likeSAGE_ROOT
orSAGE_LOCAL
are set. This requires a new functionjoin
which is likeos.path.join
except thatNone
values are propagated. -
Several unneeded variables are removed.
-
Get rid of the over-engineered
$VAR
replacement stuff. -
In some places,
SAGE_LIB
(installed location of Sage) can be used instead ofSAGE_SRC
. -
Determine
SAGE_LIB
not fromsite-packages
but fromsage.__file__
-
Rename
_add_variable_or_fallback
->var
to shorten line lengths.
There is a thread on sage-devel that complains about the failure in Debian of import sage.all
from system Python.
Depends on #27041
CC: @infinity0 @tobihan
Component: porting
Author: Jeroen Demeyer
Branch: 3b0a094
Reviewer: Erik Bray
Issue created by migration from https://trac.sagemath.org/ticket/27040