You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
760 B
24 lines
760 B
# coding: utf-8
|
|
"""Provides magically-named functions for python-package installation."""
|
|
|
|
import os.path
|
|
|
|
__version__ = '0.2.0'
|
|
|
|
|
|
def _jupyter_nbextension_paths():
|
|
# src & dest are os paths, and so must use os.path.sep to work correctly on
|
|
# Windows.
|
|
# In contrast, require is a requirejs path, and thus must use `/` as the
|
|
# path separator.
|
|
return [dict(
|
|
section='notebook',
|
|
# src is relative to current module
|
|
src=os.path.join('static', 'highlight_selected_word'),
|
|
# dest directory is in the `nbextensions/` namespace
|
|
dest='highlight_selected_word',
|
|
# require is also in the `nbextensions/` namespace
|
|
# must use / as path.sep
|
|
require='highlight_selected_word/main',
|
|
)]
|