Skip to content

No way to disable bytecode compilation when installing cpython #160835

Open

Description

@rossburton

Bug report

When building and installing cpython it can be preferable to have more control over when compileall is executed. It would be useful if there was a way to disable the compilation in the libinstall target for people who want to control the compilation without doing it twice.

(Happy to send a patch if this isn't rejected out of hand)

CPython versions tested on:

3.14

Operating systems tested on:

Linux

Activity

  1. added
    type-featureA feature request or enhancement
    buildThe build process and cross-build
    and removed
    type-bugAn unexpected behavior, bug, or error
    on Oct 28, 2026
  2. picnixz commented on Oct 28, 2026

    @picnixz
    Member

    What is the use case explicitly? is it a theoretical feature or is there a real need from redistributors?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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