Skip to content

Eliminate direct use of os.getenv in sage.interfaces #33405

@mkoeppe

Description

@mkoeppe

... as shown by git grep getenv, environment variables such as SAGE_MACAULAY2_COMMAND are checked.

These should go through variables defined in sage.env (and perhaps through sage.feature, Executable.absolute_filename(), #31296) so that they can be configured using sage_conf as well.

(see also #32867 comment:31 to #32867 comment:36)

See also: #32957 Replace have_program usage by Features

CC: @kiwifb @antonio-rojas @fchapoton @orlitzky @tornaria @dimpase

Component: refactoring

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions