mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-05 12:19:58 +08:00
Don't load html.terminal for tests if terminado not installed
This commit is contained in:
parent
a907d8f7f4
commit
7ee896861c
@ -137,6 +137,7 @@ have['mistune'] = test_for('mistune')
|
||||
have['requests'] = test_for('requests')
|
||||
have['sphinx'] = test_for('sphinx')
|
||||
have['jsonschema'] = test_for('jsonschema')
|
||||
have['terminado'] = test_for('terminado')
|
||||
have['casperjs'] = is_cmd_found('casperjs')
|
||||
have['phantomjs'] = is_cmd_found('phantomjs')
|
||||
have['slimerjs'] = is_cmd_found('slimerjs')
|
||||
@ -264,6 +265,8 @@ if not have['jinja2']:
|
||||
sec.exclude('notebookapp')
|
||||
if not have['pygments'] or not have['jinja2']:
|
||||
sec.exclude('nbconvert')
|
||||
if not have['terminado']:
|
||||
sec.exclude('terminal')
|
||||
|
||||
# config:
|
||||
# Config files aren't really importable stand-alone
|
||||
|
Loading…
Reference in New Issue
Block a user