1
Fork 0
mirror of https://github.com/Steffo99/jupyterlab-theme-sophon.git synced 2024-11-21 23:54:29 +00:00
jupyterlab-theme-sophon/jupyterlab_theme_sophon/__init__.py
2021-09-01 01:31:14 +02:00

17 lines
324 B
Python

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']
}]