Skip to content

Clean up src/bin/sage-env-config.in: Move logic to src/bin/sage-env, move non-environment configuration variables to sage_conf.py #29384

@mkoeppe

Description

@mkoeppe

Follow-up from #29038.

We clean up sage-env-config, intended for setting direct values only, by moving conditional settings of other environment variables to sage-env instead.

Moreover, we move configuration variables that are only needed by the Sage python process but not as environment variables by its child processes, to sage_conf.py. In this way they become available in the sage.all module even when invoked outside of a sage-env.

(part of #21707.)

CC: @orlitzky @dimpase @jhpalmieri

Component: build: configure

Author: Matthias Koeppe

Branch/Commit: 7364e2a

Reviewer: Michael Orlitzky

Issue created by migration from https://trac.sagemath.org/ticket/29384

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions