Merge pull request #8302 from minrk/rm-nbconvert

remove nbconvert
Min RK 11 years ago
commit 5bdc265b65

@ -146,7 +146,7 @@ have['zmq'] = test_for('zmq.pyzmq_version_info', min_zmq, callback=lambda x: x()
test_group_names = ['core',
'extensions', 'lib', 'terminal', 'testing', 'utils',
'html', 'nbconvert'
'html',
]
class TestSection(object):
@ -193,6 +193,8 @@ if not have['matplotlib']:
sec = test_sections['lib']
if not have['zmq']:
sec.exclude('kernel')
if not have['pygments']:
sec.exclude('tests.test_lexers')
# We do this unconditionally, so that the test suite doesn't import
# gtk, changing the default encoding and masking some unicode bugs.
sec.exclude('inputhookgtk')
@ -237,22 +239,9 @@ sec.exclude('static')
sec.exclude('tasks')
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')
# nbconvert:
sec = test_sections['nbconvert']
sec.requires('pygments', 'jinja2', 'jsonschema', 'mistune')
# Exclude nbconvert directories containing config files used to test.
# Executing the config files with iptest would cause an exception.
sec.exclude('tests.files')
sec.exclude('exporters.tests.files')
if not have['tornado']:
sec.exclude('nbconvert.post_processors.serve')
sec.exclude('nbconvert.post_processors.tests.test_serve')
#-----------------------------------------------------------------------------
# Functions and classes

@ -176,20 +176,6 @@ def find_package_data():
# os.chdir(os.path.join('tests',))
# js_tests = glob('*.js') + glob('*/*.js')
# nbconvert package_data:
# os.chdir(os.path.join(cwd, 'IPython', 'nbconvert'))
# nbconvert_templates = [os.path.join(dirpath, '*.*')
# for dirpath, _, _ in os.walk('templates')]
# package_data = {
# 'IPython.nbconvert.filters' : ['marked.js'],
# 'IPython.nbconvert' : nbconvert_templates +
# [
# 'tests/files/*.*',
# 'exporters/tests/files/*.*',
# 'preprocessors/tests/files/*.*',
# ],
# }
# os.chdir(cwd)
package_data = {

Loading…
Cancel
Save