From d6d0c8fca66010c5dd462d3472f060f2a0af149f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Samohel?= Date: Fri, 11 Dec 2020 14:52:04 +0100 Subject: [PATCH 1/7] supercritical fix for Pype --- pype.py | 3 +- pype/lib/splash.txt | 413 ++++++++++++++++++++++++++++++++++++ pype/lib/terminal_splash.py | 25 +++ 3 files changed, 440 insertions(+), 1 deletion(-) create mode 100644 pype/lib/splash.txt create mode 100644 pype/lib/terminal_splash.py diff --git a/pype.py b/pype.py index 2580bafb55..21cc97b097 100644 --- a/pype.py +++ b/pype.py @@ -112,7 +112,8 @@ def boot(): """ - print(art) + from pype.lib.terminal_splash import play_animation + play_animation() set_environments() # find pype versions bootstrap = BootstrapRepos() diff --git a/pype/lib/splash.txt b/pype/lib/splash.txt new file mode 100644 index 0000000000..929b0e9f1e --- /dev/null +++ b/pype/lib/splash.txt @@ -0,0 +1,413 @@ + + + + * + + + + + + + .* + + + + + + * + .* + * + + + + . + * + .* + * + . + + . + * + .* + .* + .* + * + . + . + * + .* + .* + .* + * + . + _. + /** + \ * + \* + * + * + . + __. + ---* + \ \* + \ * + \* + * + . + \___. + /* * + \ \ * + \ \* + \ * + \* + . + |____. + /* * + \|\ * + \ \ * + \ \ * + \ \* + \/. + _/_____. + /* * + / \ * + \ \ * + \ \ * + \ \__* + \/__. + __________. + --*-- ___* + \ \ \/_* + \ \ __* + \ \ \_* + \ \____\* + \/____/. + \____________ . + /* ___ \* + \ \ \/_\ * + \ \ _____* + \ \ \___/* + \ \____\ * + \/____/ . + |___________ . + /* ___ \ * + \|\ \/_\ \ * + \ \ _____/ * + \ \ \___/ * + \ \____\ / * + \/____/ \. + _/__________ . + /* ___ \ * + / \ \/_\ \ * + \ \ _____/ * + \ \ \___/ ---* + \ \____\ / \__* + \/____/ \/__. + ____________ . + --*-- ___ \ * + \ \ \/_\ \ * + \ \ _____/ * + \ \ \___/ ---- * + \ \____\ / \____\* + \/____/ \/____/. + ____________ + /\ ___ \ . + \ \ \/_\ \ * + \ \ _____/ * + \ \ \___/ ---- * + \ \____\ / \____\ . + \/____/ \/____/ + ____________ + /\ ___ \ + \ \ \/_\ \ . + \ \ _____/ * + \ \ \___/ ---- * + \ \____\ / \____\ . + \/____/ \/____/ + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ . + \ \ \___/ ---- * + \ \____\ / \____\ . + \/____/ \/____/ + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ + \ \ \___/ ---- * + \ \____\ / \____\ + \/____/ \/____/ + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ + \ \ \___/ ---- . + \ \____\ / \____\ + \/____/ \/____/ + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ _ + \ \ \___/ ---- + \ \____\ / \____\ + \/____/ \/____/ + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ + \ \ \___/ ---- + \ \____\ / \____\ + \/____/ \/____/ + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ + \ \ \___/ ---- \ + \ \____\ / \____\ + \/____/ \/____/ + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ + \ \ \___/ ---- \ + \ \____\ / \____\ \ + \/____/ \/____/ + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ + \ \ \___/ ---- \ + \ \____\ / \____\ __\ + \/____/ \/____/ + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ + \ \ \___/ ---- \ + \ \____\ / \____\ \__\ + \/____/ \/____/ + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ + \ \ \___/ ---- \ \ + \ \____\ / \____\ \__\ + \/____/ \/____/ + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ + \ \ \___/ ---- \ \ + \ \____\ / \____\ \__\ + \/____/ \/____/ + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___. + \ \ \___/ ---- \ \\ + \ \____\ / \____\ \__\, + \/____/ \/____/ + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ . + \ \ \___/ ---- \ \\ + \ \____\ / \____\ \__\\, + \/____/ \/____/ + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ _. + \ \ \___/ ---- \ \\\ + \ \____\ / \____\ \__\\\ + \/____/ \/____/ + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ __. + \ \ \___/ ---- \ \\ \ + \ \____\ / \____\ \__\\_/. + \/____/ \/____/ + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___. + \ \ \___/ ---- \ \\ \\ + \ \____\ / \____\ \__\\__\. + \/____/ \/____/ + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ . + \ \ \___/ ---- \ \\ \\ + \ \____\ / \____\ \__\\__\\. + \/____/ \/____/ + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ _. + \ \ \___/ ---- \ \\ \\\ + \ \____\ / \____\ \__\\__\\. + \/____/ \/____/ + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ __. + \ \ \___/ ---- \ \\ \\ \ + \ \____\ / \____\ \__\\__\\_. + \/____/ \/____/ + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ __. + \ \ \___/ ---- \ \\ \\ \ + \ \____\ / \____\ \__\\__\\__. + \/____/ \/____/ + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ ___ + \ \ \___/ ---- \ \\ \\ \ + \ \____\ / \____\ \__\\__\\__\ + \/____/ \/____/ . + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ ___ + \ \ \___/ ---- \ \\ \\ \ + \ \____\ / \____\ \__\\__\\__\ + \/____/ \/____/ * + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ ___ + \ \ \___/ ---- \ \\ \\ \ + \ \____\ / \____\ \__\\__\\__\ + \/____/ \/____/ O* + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ ___ + \ \ \___/ ---- \ \\ \\ \ + \ \____\ / \____\ \__\\__\\__\ + \/____/ \/____/ oO* + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ ___ + \ \ \___/ ---- \ \\ \\ \ + \ \____\ / \____\ \__\\__\\__\ + \/____/ \/____/ .oO* + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ ___ + \ \ \___/ ---- \ \\ \\ \ + \ \____\ / \____\ \__\\__\\__\ + \/____/ \/____/ ..oO* + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ ___ + \ \ \___/ ---- \ \\ \\ \ + \ \____\ / \____\ \__\\__\\__\ + \/____/ \/____/ . .oO* + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ ___ + \ \ \___/ ---- \ \\ \\ \ + \ \____\ / \____\ \__\\__\\__\ + \/____/ \/____/ . p.oO* + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ ___ + \ \ \___/ ---- \ \\ \\ \ + \ \____\ / \____\ \__\\__\\__\ + \/____/ \/____/ . Py.oO* + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ ___ + \ \ \___/ ---- \ \\ \\ \ + \ \____\ / \____\ \__\\__\\__\ + \/____/ \/____/ . PYp.oO* + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ ___ + \ \ \___/ ---- \ \\ \\ \ + \ \____\ / \____\ \__\\__\\__\ + \/____/ \/____/ . PYPe.oO* + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ ___ + \ \ \___/ ---- \ \\ \\ \ + \ \____\ / \____\ \__\\__\\__\ + \/____/ \/____/ . PYPE .oO* + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ ___ + \ \ \___/ ---- \ \\ \\ \ + \ \____\ / \____\ \__\\__\\__\ + \/____/ \/____/ . PYPE c.oO* + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ ___ + \ \ \___/ ---- \ \\ \\ \ + \ \____\ / \____\ \__\\__\\__\ + \/____/ \/____/ . PYPE C1.oO* + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ ___ + \ \ \___/ ---- \ \\ \\ \ + \ \____\ / \____\ \__\\__\\__\ + \/____/ \/____/ . PYPE ClU.oO* + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ ___ + \ \ \___/ ---- \ \\ \\ \ + \ \____\ / \____\ \__\\__\\__\ + \/____/ \/____/ . PYPE CluB.oO* + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ ___ + \ \ \___/ ---- \ \\ \\ \ + \ \____\ / \____\ \__\\__\\__\ + \/____/ \/____/ . PYPE Club .oO* + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ ___ + \ \ \___/ ---- \ \\ \\ \ + \ \____\ / \____\ \__\\__\\__\ + \/____/ \/____/ . PYPE Club . .. + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ ___ + \ \ \___/ ---- \ \\ \\ \ + \ \____\ / \____\ \__\\__\\__\ + \/____/ \/____/ . PYPE Club . .. + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ ___ + \ \ \___/ ---- \ \\ \\ \ + \ \____\ / \____\ \__\\__\\__\ + \/____/ \/____/ . PYPE Club . . + ____________ + /\ ___ \ + \ \ \/_\ \ + \ \ _____/ ___ ___ ___ + \ \ \___/ ---- \ \\ \\ \ + \ \____\ / \____\ \__\\__\\__\ + \/____/ \/____/ . PYPE Club . \ No newline at end of file diff --git a/pype/lib/terminal_splash.py b/pype/lib/terminal_splash.py new file mode 100644 index 0000000000..dd6fff9b28 --- /dev/null +++ b/pype/lib/terminal_splash.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +"""Pype terminal animation :)""" +import os +from pathlib import Path +from time import sleep +import sys + + +def play_animation(): + frame_size = 7 + splash_file = Path(__file__).parent / "splash.txt" + with splash_file.open("r") as sf: + animation = sf.readlines() + + animation_length = int(len(animation) / frame_size) + current_frame = 0 + for frame in range(animation_length): + if sys.platform.startswith('win'): + os.system('cls') + else: + os.system('clear') + for scanline in animation[current_frame:current_frame + frame_size]: + print(scanline.rstrip()) + sleep(0.05) + current_frame += frame_size From 4ba41c4e9dce97c19c40213a6bb1bacfce2762b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Samohel?= Date: Fri, 11 Dec 2020 15:05:28 +0100 Subject: [PATCH 2/7] supercritical fix for supercritical bug --- pype/lib/terminal_splash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pype/lib/terminal_splash.py b/pype/lib/terminal_splash.py index dd6fff9b28..251db495fc 100644 --- a/pype/lib/terminal_splash.py +++ b/pype/lib/terminal_splash.py @@ -14,7 +14,7 @@ def play_animation(): animation_length = int(len(animation) / frame_size) current_frame = 0 - for frame in range(animation_length): + for _ in range(animation_length): if sys.platform.startswith('win'): os.system('cls') else: From f5d8f36e1fc9017c69141ab802402ac7fc3e33bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Samohel?= Date: Fri, 11 Dec 2020 16:40:10 +0100 Subject: [PATCH 3/7] major speed up --- pype/lib/terminal_splash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pype/lib/terminal_splash.py b/pype/lib/terminal_splash.py index 251db495fc..7ff982c509 100644 --- a/pype/lib/terminal_splash.py +++ b/pype/lib/terminal_splash.py @@ -21,5 +21,5 @@ def play_animation(): os.system('clear') for scanline in animation[current_frame:current_frame + frame_size]: print(scanline.rstrip()) - sleep(0.05) + sleep(0.005) current_frame += frame_size From 8c70ebb78dabb2e4625271b7bf7a258e20d32631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Samohel?= Date: Mon, 14 Dec 2020 18:01:09 +0100 Subject: [PATCH 4/7] switch to blessed --- pype/lib/splash.txt | 26 ++++++++--------- pype/lib/terminal.py | 56 +++++++++++++++---------------------- pype/lib/terminal_splash.py | 21 ++++++++++---- requirements.txt | 2 ++ 4 files changed, 53 insertions(+), 52 deletions(-) diff --git a/pype/lib/splash.txt b/pype/lib/splash.txt index 929b0e9f1e..833bcd4b9c 100644 --- a/pype/lib/splash.txt +++ b/pype/lib/splash.txt @@ -110,45 +110,45 @@ \ \ \___/ ---- * \ \____\ / \____\* \/____/ \/____/. - ____________ + ____________ /\ ___ \ . \ \ \/_\ \ * \ \ _____/ * \ \ \___/ ---- * \ \____\ / \____\ . - \/____/ \/____/ + \/____/ \/____/ ____________ - /\ ___ \ + /\ ___ \ \ \ \/_\ \ . \ \ _____/ * \ \ \___/ ---- * \ \____\ / \____\ . - \/____/ \/____/ + \/____/ \/____/ ____________ /\ ___ \ - \ \ \/_\ \ + \ \ \/_\ \ \ \ _____/ . \ \ \___/ ---- * \ \____\ / \____\ . - \/____/ \/____/ + \/____/ \/____/ ____________ /\ ___ \ \ \ \/_\ \ - \ \ _____/ + \ \ _____/ \ \ \___/ ---- * - \ \____\ / \____\ - \/____/ \/____/ + \ \____\ / \____\ + \/____/ \/____/ ____________ /\ ___ \ \ \ \/_\ \ \ \ _____/ \ \ \___/ ---- . - \ \____\ / \____\ - \/____/ \/____/ + \ \____\ / \____\ + \/____/ \/____/ ____________ /\ ___ \ \ \ \/_\ \ - \ \ _____/ _ + \ \ _____/ _ \ \ \___/ ---- \ \____\ / \____\ \/____/ \/____/ @@ -410,4 +410,4 @@ \ \ _____/ ___ ___ ___ \ \ \___/ ---- \ \\ \\ \ \ \____\ / \____\ \__\\__\\__\ - \/____/ \/____/ . PYPE Club . \ No newline at end of file + \/____/ \/____/ . PYPE Club . diff --git a/pype/lib/terminal.py b/pype/lib/terminal.py index 61d074f474..afaca8241a 100644 --- a/pype/lib/terminal.py +++ b/pype/lib/terminal.py @@ -13,11 +13,10 @@ import re import os import sys -noColorama = False -try: - from colorama import Fore, Style, init, ansitowin32 -except ImportError: - noColorama = True +import blessed + + +term = blessed.Terminal() class Terminal: @@ -30,40 +29,37 @@ class Terminal: """ # shortcuts for colorama codes - if noColorama: - _SB = _RST = _LR = _LG = _LB = _LM = _R = _G = _B = _C = _Y = _W = "" - _LY = "" - else: - _SB = Style.BRIGHT - _RST = Style.RESET_ALL - _LR = Fore.LIGHTRED_EX - _LG = Fore.LIGHTGREEN_EX - _LB = Fore.LIGHTBLUE_EX - _LM = Fore.LIGHTMAGENTA_EX - _LY = Fore.LIGHTYELLOW_EX - _R = Fore.RED - _G = Fore.GREEN - _B = Fore.BLUE - _C = Fore.CYAN - _Y = Fore.YELLOW - _W = Fore.WHITE + + _SB = term.bold + _RST = "" + _LR = term.tomato2 + _LG = term.aquamarine3 + _LB = term.turquoise2 + _LM = term.slateblue2 + _LY = term.gold + _R = term.red + _G = term.green + _B = term.blue + _C = term.cyan + _Y = term.yellow + _W = term.white # dictionary replacing string sequences with colorized one _sdict = { - r">>> ": _SB + _G + r">>> " + _RST, + r">>> ": _SB + _LG + r">>> " + _RST, r"!!!(?!\sCRI|\sERR)": _SB + _R + r"!!! " + _RST, r"\-\-\- ": _SB + _C + r"--- " + _RST, - r"\*\*\*(?!\sWRN)": _SB + _LM + r"***" + _RST, + r"\*\*\*(?!\sWRN)": _SB + _LY + r"***" + _RST, r"\*\*\* WRN": _SB + _LY + r"*** WRN" + _RST, - r" \- ": _SB + _Y + r" - " + _RST, + r" \- ": _SB + _LY + r" - " + _RST, r"\[ ": _SB + _LG + r"[ " + _RST, r"\]": _SB + _LG + r"]" + _RST, r"{": _LG + r"{", r"}": r"}" + _RST, r"\(": _LY + r"(", r"\)": r")" + _RST, - r"^\.\.\. ": _SB + _LM + r"... " + _RST, + r"^\.\.\. ": _SB + _LR + r"... " + _RST, r"!!! ERR: ": _SB + _LR + r"!!! ERR: " + _RST, r"!!! CRI: ": @@ -73,8 +69,7 @@ class Terminal: } def __init__(self): - if not noColorama: - init() + pass @staticmethod def _multiple_replace(text, adict): @@ -108,11 +103,6 @@ class Terminal: str: Colorized message. """ - if noColorama: - print(message) - return message - if not isinstance(sys.stdout, ansitowin32.StreamWrapper): - init() colorized = Terminal.log(message) print(colorized) diff --git a/pype/lib/terminal_splash.py b/pype/lib/terminal_splash.py index 7ff982c509..7f3f9d74fa 100644 --- a/pype/lib/terminal_splash.py +++ b/pype/lib/terminal_splash.py @@ -1,12 +1,15 @@ # -*- coding: utf-8 -*- """Pype terminal animation :)""" import os +import blessed from pathlib import Path from time import sleep import sys +term = blessed.Terminal() def play_animation(): + print(term.home + term.clear) frame_size = 7 splash_file = Path(__file__).parent / "splash.txt" with splash_file.open("r") as sf: @@ -15,11 +18,17 @@ def play_animation(): animation_length = int(len(animation) / frame_size) current_frame = 0 for _ in range(animation_length): - if sys.platform.startswith('win'): - os.system('cls') - else: - os.system('clear') + frame = "" + y = 0 for scanline in animation[current_frame:current_frame + frame_size]: - print(scanline.rstrip()) - sleep(0.005) + frame += scanline + y += 1 + + with term.location(0, 0): + # term.aquamarine3_bold(frame) + print(f"{term.bold}{term.aquamarine3}{frame}{term.normal}") + + + sleep(0.05) current_frame += frame_size + print(term.move_y(7)) \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index ac197b9b1e..d1855ed31a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1,11 @@ aiohttp appdirs arrow +blessed certifi Click clique==1.5.0 +colorama coverage cx_Freeze ftrack-python-api==2.0.0 From dfc1e0c50aa163ac96c4b97811a19fc02d19242a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Samohel?= Date: Mon, 14 Dec 2020 18:08:07 +0100 Subject: [PATCH 5/7] fix hound --- pype/lib/terminal_splash.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pype/lib/terminal_splash.py b/pype/lib/terminal_splash.py index 7f3f9d74fa..1bb1c488d0 100644 --- a/pype/lib/terminal_splash.py +++ b/pype/lib/terminal_splash.py @@ -1,14 +1,15 @@ # -*- coding: utf-8 -*- -"""Pype terminal animation :)""" -import os +"""Pype terminal animation.""" import blessed from pathlib import Path from time import sleep -import sys + term = blessed.Terminal() + def play_animation(): + """Play ASCII art Pype animation.""" print(term.home + term.clear) frame_size = 7 splash_file = Path(__file__).parent / "splash.txt" @@ -28,7 +29,6 @@ def play_animation(): # term.aquamarine3_bold(frame) print(f"{term.bold}{term.aquamarine3}{frame}{term.normal}") - sleep(0.05) current_frame += frame_size - print(term.move_y(7)) \ No newline at end of file + print(term.move_y(7)) From 86d23767ec59e87fa3f7a8b2a217cba909156543 Mon Sep 17 00:00:00 2001 From: Milan Kolar Date: Tue, 15 Dec 2020 17:46:40 +0100 Subject: [PATCH 6/7] speed up animation --- pype/lib/terminal_splash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pype/lib/terminal_splash.py b/pype/lib/terminal_splash.py index b90dd2891e..710584e109 100644 --- a/pype/lib/terminal_splash.py +++ b/pype/lib/terminal_splash.py @@ -29,6 +29,6 @@ def play_animation(): # term.aquamarine3_bold(frame) print(f"{term.bold}{term.aquamarine3}{frame}{term.normal}") - sleep(0.035) + sleep(0.015) current_frame += frame_size print(term.move_y(7)) From 032c753b8695b6154433e9acfc8155a7a754b370 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Samohel?= Date: Tue, 15 Dec 2020 18:05:32 +0100 Subject: [PATCH 7/7] remove colorama --- pype/lib/terminal_splash.py | 2 +- requirements.txt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pype/lib/terminal_splash.py b/pype/lib/terminal_splash.py index 710584e109..7a94f2243e 100644 --- a/pype/lib/terminal_splash.py +++ b/pype/lib/terminal_splash.py @@ -29,6 +29,6 @@ def play_animation(): # term.aquamarine3_bold(frame) print(f"{term.bold}{term.aquamarine3}{frame}{term.normal}") - sleep(0.015) + sleep(0.02) current_frame += frame_size print(term.move_y(7)) diff --git a/requirements.txt b/requirements.txt index d1855ed31a..24cf4f31c0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,6 @@ blessed certifi Click clique==1.5.0 -colorama coverage cx_Freeze ftrack-python-api==2.0.0