Skip to content

Commit

Permalink
Fix: Support info displaying no longer needed deps
Browse files Browse the repository at this point in the history
`markdown` and `pygments` are required by `mdpopups` only.
They are vendored in recent releases and thus always available for use
by mdpopups.
  • Loading branch information
DeathAxe committed Jul 25, 2022
1 parent 1badb94 commit e539493
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions modules/support.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,6 @@ def run():
'git_version': git_version()
}

try:
import markdown
info['markdown'] = module_version(markdown, 'version')
except ImportError:
info['markdown'] = 'not installed!'

try:
import mdpopups
info['mdpopups'] = module_version(mdpopups, 'version')
Expand All @@ -114,12 +108,6 @@ def run():
except ImportError:
info['jinja'] = 'not installed!'

try:
import pygments
info['pygments'] = module_version(pygments, '__version__')
except ImportError:
info['pygments'] = 'not installed!'

msg = textwrap.dedent(
"""\
- Sublime Text %(st_version)s
Expand All @@ -129,8 +117,6 @@ def run():
- Install via PC: %(pc_install)s
- %(git_version)s
- mdpopups %(mdpopups)s
- markdown %(markdown)s
- pygments %(pygments)s
- jinja2 %(jinja)s
""" % info
)
Expand Down

0 comments on commit e539493

Please sign in to comment.