__init__.py 906 B

1234567891011121314151617181920212223242526
  1. """The Jupyter HTML Notebook"""
  2. import os
  3. # Packagers: modify this line if you store the notebook static files elsewhere
  4. DEFAULT_STATIC_FILES_PATH = os.path.join(os.path.dirname(__file__), "static")
  5. # Packagers: modify the next line if you store the notebook template files
  6. # elsewhere
  7. # Include both notebook/ and notebook/templates/. This makes it
  8. # possible for users to override a template with a file that inherits from that
  9. # template.
  10. #
  11. # For example, if you want to override a specific block of notebook.html, you
  12. # can create a file called notebook.html that inherits from
  13. # templates/notebook.html, and the latter will resolve correctly to the base
  14. # implementation.
  15. DEFAULT_TEMPLATE_PATH_LIST = [
  16. os.path.dirname(__file__),
  17. os.path.join(os.path.dirname(__file__), "templates"),
  18. ]
  19. del os
  20. from .nbextensions import install_nbextension
  21. from ._version import version_info, __version__