summaryrefslogtreecommitdiff
path: root/scripts/utils.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-01-09 21:14:41 +0100
committerFlorian Bruhin <me@the-compiler.org>2020-01-10 17:06:20 +0100
commit30fdde8a450f72d40ded7db323fb99f4a066cec3 (patch)
tree2263c5ba88e4808b6491529eb5c1a25a495c955b /scripts/utils.py
parent7dfb403478d7a1f27ffcd50263f1e9a43298a0dd (diff)
downloadqutebrowser-30fdde8a450f72d40ded7db323fb99f4a066cec3.tar.gz
qutebrowser-30fdde8a450f72d40ded7db323fb99f4a066cec3.zip
Replace tox -e mkvenv by a mkvenv.py script
This was mainly needed because PyQt 5.14.1 is a manylinux2014 wheel and needs an updated pip, see #5013
Diffstat (limited to 'scripts/utils.py')
-rw-r--r--scripts/utils.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/utils.py b/scripts/utils.py
index b0314abb8..0d405c8a6 100644
--- a/scripts/utils.py
+++ b/scripts/utils.py
@@ -37,6 +37,8 @@ use_color = os.name != 'nt' or colorama
fg_colors = {
+ 'reset': 0,
+ 'bold': 1,
'black': 30,
'red': 31,
'green': 32,
@@ -45,7 +47,6 @@ fg_colors = {
'magenta': 35,
'cyan': 36,
'white': 37,
- 'reset': 39,
}
@@ -69,6 +70,7 @@ def print_col(text, color):
def print_title(text):
"""Print a title."""
+ print()
print_col("==================== {} ====================".format(text),
'yellow')