mirror of
https://github.com/Steffo99/jupyterlab-theme-sophon.git
synced 2024-11-25 17:44:29 +00:00
17 lines
324 B
Python
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']
|
|
}]
|