New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make setup.py less chatty by default #35935
Comments
I don't like the amount of output that setup.py The attached patch is a bit of a kludge, but I'm not Then I change the specific prints and announcements With this patch in place, setup.py tells me only the |
Logged In: YES Um, context diff? |
Logged In: YES Er, context diff. |
Logged In: YES Hokay, next question: why the "assert 0" in cmd.py? Are you |
Logged In: YES The distutils package is a maze of twisty little passages But I'd still be surprised if this patch is the right thing. |
Logged In: YES You're not wrong :| The "assert 0" is on the install path though. Right. I'm currently fighting emacs to let me print source |
Logged In: YES Jeremy, the patch touches the distutils code, but what you really The "right" way to fix this would be to subclass the various distutils |
Logged In: YES If I had to guess, I'd say cleaning up and rationalizing the Hey, and reformat the code while you're at it <wink>. |
Logged In: YES MAL, I really want to change distutils not Python's You could still get the skip notices for your stuff, you'd |
Logged In: YES Jeremy, if that's what you want you should at least post E.g. I can't see why "skip" notices are any less important We should first discuss, what distutils developers want as |
Logged In: YES Good suggestion. I hadn't planned to change anything, but |
Logged In: YES I would prefer it if setup.py would only print what it's |
Logged In: YES I've attached a new patch that uses a global log module. The new approach is to eliminate all uses of verbose except The default verbosity is 1, which skips messages that say I'm expect more thought needs to be put into the level that |
Logged In: NO Good idea in general. Removing .announce() however is not since this |
Logged In: YES Modified version checked in preserving announce() as |
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:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: