mirror of
https://github.com/jupyter/notebook.git
synced 2025-04-24 14:20:54 +08:00
remove jsonschema and jsonpointer from external
add them as nbformat dependencies
This commit is contained in:
parent
2c8a53aca1
commit
2235f16c5c
5
setup.py
5
setup.py
@ -272,12 +272,17 @@ extras_require = dict(
|
|||||||
doc = ['Sphinx>=1.1', 'numpydoc'],
|
doc = ['Sphinx>=1.1', 'numpydoc'],
|
||||||
test = ['nose>=0.10.1'],
|
test = ['nose>=0.10.1'],
|
||||||
terminal = [],
|
terminal = [],
|
||||||
|
nbformat = ['jsonschema>=2.0', 'jsonpointer>=1.3'],
|
||||||
notebook = ['tornado>=3.1', 'pyzmq>=2.1.11', 'jinja2'],
|
notebook = ['tornado>=3.1', 'pyzmq>=2.1.11', 'jinja2'],
|
||||||
nbconvert = ['pygments', 'jinja2', 'Sphinx>=0.3']
|
nbconvert = ['pygments', 'jinja2', 'Sphinx>=0.3']
|
||||||
)
|
)
|
||||||
|
|
||||||
if sys.version_info < (3, 3):
|
if sys.version_info < (3, 3):
|
||||||
extras_require['test'].append('mock')
|
extras_require['test'].append('mock')
|
||||||
|
|
||||||
|
extras_require['notebook'].extend(extras_require['nbformat'])
|
||||||
|
extras_require['nbconvert'].extend(extras_require['nbformat'])
|
||||||
|
|
||||||
everything = set()
|
everything = set()
|
||||||
for deps in extras_require.values():
|
for deps in extras_require.values():
|
||||||
everything.update(deps)
|
everything.update(deps)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user