Skip to content

Commit

Permalink
Strip obsolete dependencies (#8)
Browse files Browse the repository at this point in the history
mdpopups vendors all libraries it needs, so all others can be removed.
  • Loading branch information
deathaxe authored Dec 2, 2023
1 parent 8b6612f commit ea56deb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 32 deletions.
16 changes: 5 additions & 11 deletions dependencies.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
{
"*": {
">=3114": [
"markupsafe",
"mdpopups",
"pygments",
"pymdownx",
"python-jinja2",
"python-markdown",
"pyyaml"
]
}
"*": {
">=3114": [
"mdpopups"
]
}
}
21 changes: 0 additions & 21 deletions utils/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,24 +56,6 @@ def run(self):
except Exception:
info["mdpopups_version"] = 'Version could not be acquired!'

try:
import markdown
info["markdown_version"] = format_version(markdown, 'version')
except Exception:
info["markdown_version"] = 'Version could not be acquired!'

try:
import jinja2
info["jinja_version"] = format_version(jinja2, '__version__')
except Exception:
info["jinja_version"] = 'Version could not be acquired!'

try:
import pygments
info["pygments_version"] = format_version(pygments, '__version__')
except Exception:
info["pygments_version"] = 'Version could not be acquired!'

msg = textwrap.dedent(
"""\
- Sublime Text: %(version)s
Expand All @@ -83,9 +65,6 @@ def run(self):
- Install via PC: %(pc_install)s
- Dependencies:
* mdpopups: %(mdpopups_version)s
* markdown: %(markdown_version)s
* pygments: %(pygments_version)s
* jinja2: %(jinja_version)s
""" % info
)

Expand Down

0 comments on commit ea56deb

Please sign in to comment.