Changes between Version 8 and Version 10 of Ticket #27040
- Timestamp:
- 01/11/19 09:32:51 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27040
-
Property
Authors
changed from
to
Jeroen Demeyer
-
Property
Summary
changed from
Make env.py use system values instead of using seeds
toCleanup sage.env
-
Property
Authors
changed from
-
Ticket #27040 – Description
v8 v10 1 François Bissey made sage-on-gentoo's env.py use: 2 {{{ 3 _add_variable_or_fallback('SAGE_LOCAL', sysconfig.get_config_var("prefix”)) 4 }}} 5 instead of using a seed (note that `import sysconfig` also needs to be added somewhere). 1 1. `sage.all` should be importable and mostly usable even if no environment variables like `SAGE_ROOT` or `SAGE_LOCAL` are set. 6 2 7 Also unneeded environment variables like `SAGE_DISTFILES` should be removed. 3 2. Unneeded variables are removed. 4 5 3. Some code cleanup. 6 7 4. In many places, `SAGE_LIB` (installed location of Sage) can be used instead of `SAGE_SRC`.