Skip to content

Commit

Permalink
chore: Add extension load points config
Browse files Browse the repository at this point in the history
Signed-off-by: Mahendra Paipuri <[email protected]>
  • Loading branch information
mahendrapaipuri committed Apr 10, 2024
1 parent 24ac88e commit e4bed25
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion jupyter_power_usage/__init__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
from jupyter_server.utils import url_path_join as ujoin

from ._version import __version__
from ._version import __version__ # noqa
from .api import ElectrictyMapsHandler
from .api import PowerMetricHandler
from .config import PowerUsageDisplay
from .metrics import CpuPowerUsage
from .metrics import GpuPowerUsage


def _jupyter_server_extension_points():
return [{"module": "jupyter_power_usage"}]


def _jupyter_labextension_paths():
return [{"src": "labextension", "dest": "@mahendrapaipuri/jupyter-power-usage"}]

Expand Down

0 comments on commit e4bed25

Please sign in to comment.