Skip to content

Use SAGE_LIB instead of of a path derived from SAGE_LOCAL in sage/doctest/sources.py #27191

@kiwifb

Description

@kiwifb

In src/sage/doctest/sources.py the following code

sp = os.path.join(SAGE_LOCAL, 'lib', 'python', 'site-packages')

can easily be replaced by SAGE_LIB which is the intended location in any case.

Note that this is also the only call to SAGE_LOCAL in this file.

Component: doctest framework

Author: François Bissey

Branch/Commit: 6ccfd3a

Reviewer: Jeroen Demeyer

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions