##// END OF EJS Templates
Remove deprecated install_ext and ~/.ipython/extensions...
Remove deprecated install_ext and ~/.ipython/extensions As pointed out in #13722 loading extensions from this place have been deprecated for about 5 years, so time for removal. I understand this will likely make it too hard for some user who can't seem to be able to write 8 lines of configuration: $ cat mod.py pyproject.toml """ipython ext""" __version__ = "0.0.1" [build-system] requires = ["flit_core >=3.2,<4"] build-backend = "flit_core.buildapi" [project] name = "mod" dynamic = ["version", "description"] Those can be reminded that they can also modify their $PYTHONPATH, so that py files can be imported from their preferred folder. Closes #13722

File last commit:

r25632:43a01a21
r27767:77a4bce7
Show More
display.py
44 lines | 1.1 KiB | text/x-python | PythonLexer
"""Public API for display tools in IPython.
"""
# -----------------------------------------------------------------------------
# Copyright (C) 2012 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# Imports
# -----------------------------------------------------------------------------
from IPython.core.display_functions import *
from IPython.core.display import (
display_pretty,
display_html,
display_markdown,
display_svg,
display_png,
display_jpeg,
display_latex,
display_json,
display_javascript,
display_pdf,
DisplayObject,
TextDisplayObject,
Pretty,
HTML,
Markdown,
Math,
Latex,
SVG,
ProgressBar,
JSON,
GeoJSON,
Javascript,
Image,
set_matplotlib_formats,
set_matplotlib_close,
Video,
)
from IPython.lib.display import *