1
Fork 0
mirror of https://github.com/Steffo99/jupyterlab-theme-sophon.git synced 2024-11-24 17:14:29 +00:00
jupyterlab-theme-sophon/jupyterlab_theme_sophon/__init__.py

18 lines
324 B
Python
Raw Normal View History

2021-08-31 23:31:14 +00:00
import json
import os.path as osp
from ._version import __version__
HERE = osp.abspath(osp.dirname(__file__))
with open(osp.join(HERE, 'labextension', 'package.json')) as fid:
data = json.load(fid)
def _jupyter_labextension_paths():
return [{
'src': 'labextension',
'dest': data['name']
}]