Show More
@@ -16,4 +16,4 b' from IPython.utils.shimmodule import ShimModule' | |||||
16 | # trigger the custom attribute access above |
|
16 | # trigger the custom attribute access above | |
17 |
|
17 | |||
18 | sys.modules['IPython.nbconvert'] = ShimModule( |
|
18 | sys.modules['IPython.nbconvert'] = ShimModule( | |
19 |
src='IPython.nbconvert', mirror=' |
|
19 | src='IPython.nbconvert', mirror='nbconvert') |
@@ -8,11 +8,11 b' import sys' | |||||
8 | from warnings import warn |
|
8 | from warnings import warn | |
9 |
|
9 | |||
10 | warn("The `IPython.qt` package has been deprecated. " |
|
10 | warn("The `IPython.qt` package has been deprecated. " | |
11 |
"You should import from |
|
11 | "You should import from qtconsole instead.") | |
12 |
|
12 | |||
13 | from IPython.utils.shimmodule import ShimModule |
|
13 | from IPython.utils.shimmodule import ShimModule | |
14 |
|
14 | |||
15 | # Unconditionally insert the shim into sys.modules so that further import calls |
|
15 | # Unconditionally insert the shim into sys.modules so that further import calls | |
16 | # trigger the custom attribute access above |
|
16 | # trigger the custom attribute access above | |
17 |
|
17 | |||
18 |
sys.modules['IPython.qt'] = ShimModule(src='IPython.qt', mirror=' |
|
18 | sys.modules['IPython.qt'] = ShimModule(src='IPython.qt', mirror='qtconsole') |
@@ -207,7 +207,7 b' class TerminalIPythonApp(BaseIPythonApplication, InteractiveShellApp):' | |||||
207 | ] |
|
207 | ] | |
208 |
|
208 | |||
209 | subcommands = dict( |
|
209 | subcommands = dict( | |
210 |
qtconsole=(' |
|
210 | qtconsole=('qtconsole.console.qtconsoleapp.JupyterQtConsoleApp', | |
211 | """DEPRECATD: Launch the Jupyter Qt Console.""" |
|
211 | """DEPRECATD: Launch the Jupyter Qt Console.""" | |
212 | ), |
|
212 | ), | |
213 | notebook=('jupyter_notebook.notebookapp.NotebookApp', |
|
213 | notebook=('jupyter_notebook.notebookapp.NotebookApp', | |
@@ -228,7 +228,7 b' class TerminalIPythonApp(BaseIPythonApplication, InteractiveShellApp):' | |||||
228 | history=('IPython.core.historyapp.HistoryApp', |
|
228 | history=('IPython.core.historyapp.HistoryApp', | |
229 | "Manage the IPython history database." |
|
229 | "Manage the IPython history database." | |
230 | ), |
|
230 | ), | |
231 |
nbconvert=(' |
|
231 | nbconvert=('nbconvert.nbconvertapp.NbConvertApp', | |
232 | "DEPRECATED: Convert notebooks to/from other formats." |
|
232 | "DEPRECATED: Convert notebooks to/from other formats." | |
233 | ), |
|
233 | ), | |
234 | trust=('jupyter_nbformat.sign.TrustNotebookApp', |
|
234 | trust=('jupyter_nbformat.sign.TrustNotebookApp', |
@@ -241,7 +241,7 b' rprinte = raw_print_err' | |||||
241 |
|
241 | |||
242 |
|
242 | |||
243 | def unicode_std_stream(stream='stdout'): |
|
243 | def unicode_std_stream(stream='stdout'): | |
244 |
"""DEPRECATED, moved to |
|
244 | """DEPRECATED, moved to nbconvert.utils.io""" | |
245 |
warn("IPython.utils.io.unicode_std_stream has moved to |
|
245 | warn("IPython.utils.io.unicode_std_stream has moved to nbconvert.utils.io") | |
246 |
from |
|
246 | from nbconvert.utils.io import unicode_std_stream | |
247 | return unicode_std_stream(stream) |
|
247 | return unicode_std_stream(stream) |
@@ -202,14 +202,14 b" pyzmq = 'pyzmq>=13'" | |||||
202 |
|
202 | |||
203 | extras_require = dict( |
|
203 | extras_require = dict( | |
204 | parallel = ['ipyparallel'], |
|
204 | parallel = ['ipyparallel'], | |
205 |
qtconsole = [' |
|
205 | qtconsole = ['qtconsole'], | |
206 | doc = ['Sphinx>=1.1', 'numpydoc'], |
|
206 | doc = ['Sphinx>=1.1', 'numpydoc'], | |
207 | test = ['nose>=0.10.1', 'requests'], |
|
207 | test = ['nose>=0.10.1', 'requests'], | |
208 | terminal = [], |
|
208 | terminal = [], | |
209 | kernel = ['ipython_kernel'], |
|
209 | kernel = ['ipython_kernel'], | |
210 | nbformat = ['jupyter_nbformat'], |
|
210 | nbformat = ['jupyter_nbformat'], | |
211 | notebook = ['jupyter_notebook'], |
|
211 | notebook = ['jupyter_notebook'], | |
212 |
nbconvert = [' |
|
212 | nbconvert = ['nbconvert'], | |
213 | ) |
|
213 | ) | |
214 |
|
214 | |||
215 | if sys.version_info < (3, 3): |
|
215 | if sys.version_info < (3, 3): |
General Comments 0
You need to be logged in to leave comments.
Login now