mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-19 13:20:36 +08:00
Fixing install logic for nbconvert.
This commit is contained in:
parent
390717c53a
commit
072a94370d
1
setup.py
1
setup.py
@ -278,6 +278,7 @@ if 'setuptools' in sys.modules:
|
||||
doc = 'Sphinx>=0.3',
|
||||
test = 'nose>=0.10.1',
|
||||
notebook = ['tornado>=2.0', 'pyzmq>=2.1.11', 'jinja2'],
|
||||
nbconvert = ['pygments', 'markdown', 'jinja2', 'Sphinx>=0.3']
|
||||
)
|
||||
requires = setup_args.setdefault('install_requires', [])
|
||||
setupext.display_status = False
|
||||
|
@ -151,6 +151,8 @@ def find_package_data():
|
||||
'IPython.testing.plugin' : ['*.txt'],
|
||||
'IPython.html' : ['templates/*'] + static_data,
|
||||
'IPython.qt.console' : ['resources/icon/*.svg'],
|
||||
'IPython.nbconvert.templates' : ['*.tpl', 'latex/*.tpl',
|
||||
'latex/skeleton/*.tplx', 'skeleton/*']
|
||||
}
|
||||
return package_data
|
||||
|
||||
@ -320,7 +322,7 @@ def find_scripts(entry_points=False, suffix=''):
|
||||
'iplogger%s = IPython.parallel.apps.iploggerapp:launch_new_instance',
|
||||
'ipcluster%s = IPython.parallel.apps.ipclusterapp:launch_new_instance',
|
||||
'iptest%s = IPython.testing.iptest:main',
|
||||
'irunner%s = IPython.lib.irunner:main'
|
||||
'irunner%s = IPython.lib.irunner:main',
|
||||
]]
|
||||
gui_scripts = []
|
||||
scripts = dict(console_scripts=console_scripts, gui_scripts=gui_scripts)
|
||||
@ -370,6 +372,8 @@ def check_for_dependencies():
|
||||
check_for_pexpect()
|
||||
check_for_pyzmq()
|
||||
check_for_readline()
|
||||
check_for_jinja2()
|
||||
check_for_markdown()
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# VCS related
|
||||
|
Loading…
x
Reference in New Issue
Block a user