Adding an to make the pip wheel invocation more or less verbose

This commit is contained in:
Yannick Jadoul
2018-04-08 21:37:40 +02:00
parent 71503b7143
commit c563bca054
6 changed files with 37 additions and 9 deletions
+9
View File
@@ -13,6 +13,15 @@ def prepare_command(command, python, pip, project):
return command.format(python=python, pip=pip, project=project)
def get_build_verbosity_flag(level):
if level > 0:
return '-' + level * 'v'
elif level < 0:
return '-' + -level * 'q'
else:
return ''
class BuildSkipper(object):
def __init__(self, skip_config):
self.patterns = skip_config.split()