File: __init__.py

package info (click to toggle)
ipython 2.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 28,032 kB
  • ctags: 15,433
  • sloc: python: 73,792; makefile: 428; sh: 297
file content (12 lines) | stat: -rw-r--r-- 391 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
"""The IPython HTML Notebook"""

import os
# Packagers: modify this line if you store the notebook static files elsewhere
if os.path.exists("/usr/share/ipython/notebook/static"):
    DEFAULT_STATIC_FILES_PATH = "/usr/share/ipython/notebook/static"
else:
    DEFAULT_STATIC_FILES_PATH = os.path.join(os.path.dirname(__file__), "static")

del os

from .nbextensions import install_nbextension