Changes between Version 43 and Version 44 of Ticket #21707
 Timestamp:
 Jun 9, 2020, 5:52:46 AM (2 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

Ticket #21707 – Description
v43 v44 16 16 2./3. Obtain sagelib's buildtime configuration such as `src/setup.py`'s `library_dirs` and runtime information (`sage.env`) from `sageconfig` (introduced in #29038). 17 17 a. In `src/Makefile`, poison the `SAGE_LOCAL` variable. 18 b. Pass `SAGE_PKGS` (if still needed at all  see #28815) via `sageconfig` instead of from `src/Makefile`. 18  #29411: make sagelib a script package 19  #29779: `pkgconfig` installed from SPKG `pkgconf` should not depend on environment variable `SAGE_LOCAL` 20 b. Pass `SAGE_PKGS` (if still needed at all  see #28815 or #29705) via `sageconfig` instead of from `src/Makefile`. 19 21 20 22 3./4./5. Using `sage_conf` (Python module and script `sageconfig`, #29038), make `sage.all` fully functional when imported from a Python, without setting any environment variables (`sageenv`). 21 23 a. Initially, phase out `src/bin/sageenvconfig` by using `sageconfig` instead. 22 24  #29384: Clean up `src/bin/sageenvconfig.in`: Move logic to `src/bin/sageenv`, move nonenvironment configuration variables to `sage_conf.py` 25  #29825: Cleanup for src/bin/sageenv 23 26 b. Set `sage.env` variables via the Python module `sage_conf` instead of relying on information from environment variables. Example: `CYSIGNALS_CRASH_DAYS` 24 27 c. Set environment variables that are needed only by subprocesses invoked by sagelib in the environment of these subprocesses, rather than relying on them begin set in `sageenv`. This environment could be provided by a variable `sage_conf.SAGE_SUBPROCESS_ENV` and/or more invidual variables. Example: `R_PROFILE`