Skip to content

Relative include path of generated frozen module in getpath.c #113039

Closed
@itamaro

Description

@itamaro

Feature or enhancement

Proposal:

in getpath.c, the generated frozen getpath.h is [included using relative path](

#include "../Python/frozen_modules/getpath.h"

I'd like to consider changing this to use absolute include path.
my primary motivation is to make it possible to build python using alternative build systems (buck2 in my case), where frozen modules are generated as intermediate build artifacts, and it's not straight forward (read: I couldn't figure it out yet) to make the generated header "look like" it's in that relative path.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-buildtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions