Skip to content

Commit

Permalink
Remove "terminal" dependency (#672)
Browse files Browse the repository at this point in the history
* Eliminate terminal dependency

* Fix imports to use only textfsm >=1.1
  • Loading branch information
ktbyers authored May 1, 2020
1 parent 49dd72b commit 1331e0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions lib/ntc_templates/parse.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
"""ntc_templates.parse."""
import os

try:
from textfsm import clitable
except ImportError:
import clitable
from textfsm import clitable


def _get_template_dir():
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"author": "network.toCode()",
"author_email": "info@networktocode.com",
"url": "https://github.com/networktocode/ntc-templates",
"install_requires": ["textfsm", "terminal"],
"install_requires": ["textfsm>=1.1.0"],
"extras_require": {"dev": ["pytest", "PyYAML", "black", "yamllint", "ruamel.yaml"]},
"classifiers": [
"Development Status :: 4 - Beta",
Expand Down

0 comments on commit 1331e0a

Please sign in to comment.