Skip to content

Commit

Permalink
Removes backports.shutil_get_terminal_size as dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Manraj Singh Grover committed Jun 15, 2024
1 parent 2cb5609 commit 73cecba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions halo/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@
import codecs
import platform
import six
try:
from shutil import get_terminal_size
except ImportError:
from backports.shutil_get_terminal_size import get_terminal_size

from colorama import init
from shutil import get_terminal_size
from termcolor import colored

init(autoreset=True)
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
backports.shutil_get_terminal_size>=1.0.0;python_version < '3.3'
log_symbols>=0.0.14
spinners>=0.0.24
termcolor>=1.1.0
Expand Down

0 comments on commit 73cecba

Please sign in to comment.