1
Fork 0
mirror of https://github.com/Steffo99/jupyterlab-theme-sophon.git synced 2024-11-25 09:34:30 +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']
}]