Skip to content
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

offer option to suppress "clean --all" output relating to nonexistent dirs #68779

Closed
alanf mannequin opened this issue Jul 8, 2015 · 2 comments
Closed

offer option to suppress "clean --all" output relating to nonexistent dirs #68779

alanf mannequin opened this issue Jul 8, 2015 · 2 comments
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@alanf
Copy link
Mannequin

alanf mannequin commented Jul 8, 2015

BPO 24591
Nosy @merwok, @zooba, @dstufft

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 = <Date 2021-02-03.18:26:25.677>
created_at = <Date 2015-07-08.15:33:18.094>
labels = ['type-feature', 'library']
title = 'offer option to suppress "clean --all" output relating to nonexistent dirs'
updated_at = <Date 2021-02-03.18:26:25.676>
user = 'https://bugs.python.org/alanf'

bugs.python.org fields:

activity = <Date 2021-02-03.18:26:25.676>
actor = 'steve.dower'
assignee = 'none'
closed = True
closed_date = <Date 2021-02-03.18:26:25.677>
closer = 'steve.dower'
components = ['Distutils']
creation = <Date 2015-07-08.15:33:18.094>
creator = 'alanf'
dependencies = []
files = []
hgrepos = []
issue_num = 24591
keywords = []
message_count = 2.0
messages = ['246458', '386383']
nosy_count = 4.0
nosy_names = ['eric.araujo', 'steve.dower', 'dstufft', 'alanf']
pr_nums = []
priority = 'normal'
resolution = 'out of date'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue24591'
versions = []

@alanf
Copy link
Mannequin Author

alanf mannequin commented Jul 8, 2015

The command "setup.py clean --all" writes out information about nonexistent directories that the script tried to clean but couldn't find. Example:

'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it

It would be better to suppress this output, or at least offer an option for suppressing it. This information serves no purpose to the user, except possibly to make him or her unnecessarily worried. (I know at least three developers on my team who wondered whether these lines indicated a problem when they tested our setup.py, which performs the equivalent of "clean --all" whenever "build" is run.) It's perfectly normal for these directories not to exist. The chance that you would have every possible such directory is close to zero.

There is a "quiet" option, but that's not what I want to use, since the other output issued by the command (that is, the removal of real directories) is informative.

@alanf alanf mannequin added stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Jul 8, 2015
@zooba
Copy link
Member

zooba commented Feb 3, 2021

Distutils is now deprecated (see PEP-632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils.

If this issue does not relate to distutils, please remove the component and reopen it. If you believe it still requires a fix, most likely the issue should be re-reported at https://github.com/pypa/setuptools

@zooba zooba closed this as completed Feb 3, 2021
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant