Skip to content

Commit ea56deb

Browse files
authored
Strip obsolete dependencies (#8)
mdpopups vendors all libraries it needs, so all others can be removed.
1 parent 8b6612f commit ea56deb

File tree

2 files changed

+5
-32
lines changed

2 files changed

+5
-32
lines changed

dependencies.json

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
{
2-
"*": {
3-
">=3114": [
4-
"markupsafe",
5-
"mdpopups",
6-
"pygments",
7-
"pymdownx",
8-
"python-jinja2",
9-
"python-markdown",
10-
"pyyaml"
11-
]
12-
}
2+
"*": {
3+
">=3114": [
4+
"mdpopups"
5+
]
6+
}
137
}

utils/info.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -56,24 +56,6 @@ def run(self):
5656
except Exception:
5757
info["mdpopups_version"] = 'Version could not be acquired!'
5858

59-
try:
60-
import markdown
61-
info["markdown_version"] = format_version(markdown, 'version')
62-
except Exception:
63-
info["markdown_version"] = 'Version could not be acquired!'
64-
65-
try:
66-
import jinja2
67-
info["jinja_version"] = format_version(jinja2, '__version__')
68-
except Exception:
69-
info["jinja_version"] = 'Version could not be acquired!'
70-
71-
try:
72-
import pygments
73-
info["pygments_version"] = format_version(pygments, '__version__')
74-
except Exception:
75-
info["pygments_version"] = 'Version could not be acquired!'
76-
7759
msg = textwrap.dedent(
7860
"""\
7961
- Sublime Text: %(version)s
@@ -83,9 +65,6 @@ def run(self):
8365
- Install via PC: %(pc_install)s
8466
- Dependencies:
8567
* mdpopups: %(mdpopups_version)s
86-
* markdown: %(markdown_version)s
87-
* pygments: %(pygments_version)s
88-
* jinja2: %(jinja_version)s
8968
""" % info
9069
)
9170

0 commit comments

Comments
 (0)