Skip to content

src/bin/sage-env: Make SAGE_ROOT and SAGE_LOCAL optional #29951

@mkoeppe

Description

@mkoeppe

We make SAGE_ROOT and SAGE_LOCAL optional. If one is unset, we skip setting the various environment variables that depend on it.

This change hopefully simplifies distribution packaging, with the goal of allowing unmodified scripts src/bin/sage and src/bin/sage-env to be shipped.

See also:

CC: @kiwifb @orlitzky @antonio-rojas @isuruf @tobihan @jhpalmieri @jamesjer

Component: scripts

Author: Matthias Koeppe

Branch/Commit: c8e6910

Reviewer: Dima Pasechnik, Jerry James

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions