You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
318 B
Python
17 lines
318 B
Python
|
|
import json
|
|
from pathlib import Path
|
|
|
|
from ._version import __version__
|
|
|
|
HERE = Path(__file__).parent.resolve()
|
|
|
|
with (HERE / "labextension" / "package.json").open() as fid:
|
|
data = json.load(fid)
|
|
|
|
def _jupyter_labextension_paths():
|
|
return [{
|
|
"src": "labextension",
|
|
"dest": data["name"]
|
|
}]
|