Skip to content

setup.py: run_autogen is ran too late #22094

@jdemeyer

Description

@jdemeyer

When building Sage from scratch, the following happens:

ImportError: No module named interpreters.wrapper_rdf

In src/setup.py, the method run_autogen is ran after discovering and building the Python modules. So, the Python module sage/ext/interpreters/__init__.py is not installed.

This problem was introduced in #21613.

CC: @egourgoulhon @embray @kiwifb

Component: build

Author: François Bissey

Branch: 8e172f6

Reviewer: Jeroen Demeyer

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions