GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — make install: make compileall optional · Issue #81356 · python/cpython

make install: make compileall optional #81356

New issue
Copy link
New issue
Copy link
Closed as duplicate
Closed as duplicate
make install: make compileall optional#81356
Copy link
Labels
3.9 (EOL)end of lifeend of lifetopic-installationtype-featureA feature request or enhancementA feature request or enhancement

Description

blueyed
mannequin
opened on Jun 6, 2019
Issue body actions
BPO 37175
Nosy @blueyed, @ned-deily

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2019-06-06.13:03:12.868>
labels = ['type-feature', 'expert-installation', '3.9']
title = 'make install: make compileall optional'
updated_at = <Date 2019-06-07.17:38:50.905>
user = 'https://github.com/blueyed'

bugs.python.org fields:

activity = <Date 2019-06-07.17:38:50.905>
actor = 'ned.deily'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Installation']
creation = <Date 2019-06-06.13:03:12.868>
creator = 'blueyed'
dependencies = []
files = []
hgrepos = []
issue_num = 37175
keywords = []
message_count = 2.0
messages = ['344812', '344976']
nosy_count = 2.0
nosy_names = ['blueyed', 'ned.deily']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue37175'
versions = ['Python 3.9']

Activity

  1. blueyed commented on Jun 6, 2019

    @blueyed
    blueyedmannequin
    on Jun 6, 2019
    MannequinAuthor
    More actions

    I'd like to make running compileall optionally during installation, since it takes quite a while by itself (with lots of output), and gets a bit into the way when installing often (e.g. with git-bisect).

    AFAIK it should not be required, because the files would be compiled on demand as usual.

    I could imagine having an explicit target for this, or a make variable to control this, i.e. "make install COMPILEALL=0".

  2. blueyed
    added
    3.8 (EOL)end of lifeend of life
    topic-installation
    type-featureA feature request or enhancementA feature request or enhancement
    on Jun 6, 2019
  3. ned-deily commented on Jun 7, 2019

    @ned-deily
    ned-deily
    on Jun 7, 2019
    Member
    More actions

    In many installations, the user running Python would not have write access to the lib directory tree where the compiled byte files need to be created so we would not want to change the current default behavior. On the other hand, I could see some times when testing where it would speed things up to skip compiling.

    The issue of tons of output is really a more important issue; it would be useful to be able to suppress all those lines of compile output as they rarely provide any useful information, perhaps even suppressing by default.

  4. ned-deily
    added
    3.9 (EOL)end of lifeend of life
    and removed
    3.8 (EOL)end of lifeend of life
    on Jun 7, 2019
  5. ezio-melotti
    transferred this issue fromon Apr 10, 2022
  6. encukou commented on Oct 30, 2026

    @encukou
    encukou
    on Oct 30, 2026
    Member
    More actions

    To suppress output, use make install COMPILEALL_OPTS='-q'.

    This is a duplicate of #160835, which is newer but IMO has a more compelling use case. And... I already commented there, so I'll close this one.

  7. encukou
    closed this as a duplicateof No way to disable bytecode compilation when installing cpython #160835 on Oct 30, 2026
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

    3.9 (EOL)end of lifeend of lifetopic-installationtype-featureA feature request or enhancementA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.