Skip to content

Curate output #142

@FFY00

Description

@FFY00

Right now we do not care much about the output. I wanted to pay a bit more attention to that.

I propose to keep the output limited to build backend output, this means swallowing the ensurepip output, and to curated messages from us (build). Our own messages should be clear that come from us, either by having an identifiable prefix or a specific style. Our messages should also be pretty limited, keeping the output clean. If we see need for debug messages we can offer that under a --debug flag.

For our messages, I propose adding a build.print_info method that could be overwritten, in warnings.showwarning fashion. The default implementation would use the logging module, but we would overwrite it in __main__ to use a colorized raw print.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions