diff --git a/jupyter_power_usage/__init__.py b/jupyter_power_usage/__init__.py index d2b8bf0..3841aca 100644 --- a/jupyter_power_usage/__init__.py +++ b/jupyter_power_usage/__init__.py @@ -1,6 +1,6 @@ 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 @@ -8,6 +8,10 @@ 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"}]