-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
2,090 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,12 @@ | |
|
||
# Build | ||
dist/ | ||
labextension/ | ||
|
||
# Python | ||
__pycache__/ | ||
.ipynb_checkpoints/ | ||
|
||
# Yarn | ||
node_modules/ | ||
.yarn/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v20.10.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nodeLinker: node-modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"packageManager": "python", | ||
"packageName": "jupyterlab-display-name", | ||
"uninstallInstructions": "Use your Python package manager (pip, conda, etc.) to uninstall the package jupyterlab-display-name." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// Required in order to build a valid JupyterLab extension | ||
|
||
export default { id: "jupyterlab-display-name:plugin", activate() {} }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"name": "jupyterlab-display-name", | ||
"version": "0.1.3", | ||
"description": "JupyterLab server extension that adds a display name field to the login page.", | ||
"contributors": [ | ||
{ | ||
"name": "Alex Hadley", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"license": "BSD-3-Clause", | ||
"keywords": [ | ||
"jupyter", | ||
"jupyterlab", | ||
"jupyterlab-extension" | ||
], | ||
"homepage": "https://github.com/PainterQubits/jupyterlab-display-name", | ||
"repository": "github:PainterQubits/jupyterlab-display-name", | ||
"main": "lib/index.js", | ||
"jupyterlab": { | ||
"extension": true, | ||
"outputDir": "labextension" | ||
}, | ||
"scripts": { | ||
"build": "jupyter labextension build ." | ||
}, | ||
"dependencies": { | ||
"@jupyterlab/builder": "^4.0.10" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,17 @@ | ||
[build-system] | ||
requires = ["hatchling"] | ||
requires = ["hatchling", "hatch-nodejs-version", "jupyterlab>=4.0.10,<5"] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "jupyterlab-display-name" | ||
version = "0.1.3" | ||
description = "JupyterLab server extension that adds a display name field to the login page." | ||
authors = [{ name = "Alex Hadley", email = "[email protected]" }] | ||
license = { file = "LICENSE" } | ||
readme = "README.md" | ||
keywords = ["jupyter", "jupyterlab", "jupyterlab-extension"] | ||
classifiers = [ | ||
"Framework :: Jupyter", | ||
"Framework :: Jupyter :: JupyterLab", | ||
"Framework :: Jupyter :: JupyterLab :: 4", | ||
"Framework :: Jupyter :: JupyterLab :: Extensions", | ||
"Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt", | ||
"License :: OSI Approved :: BSD License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
|
@@ -24,17 +21,35 @@ classifiers = [ | |
"Programming Language :: Python :: 3.12", | ||
] | ||
requires-python = ">=3.9" | ||
dynamic = ["version", "description", "authors", "urls", "keywords"] | ||
dependencies = ["jupyter_server>=2.12.1,<3", "tornado>=6.4,<7"] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/PainterQubits/jupyterlab-display-name" | ||
Repository = "https://github.com/PainterQubits/jupyterlab-display-name" | ||
[tool.hatch.version] | ||
source = "nodejs" | ||
|
||
[tool.hatch.metadata.hooks.nodejs] | ||
fields = ["description", "authors", "urls", "keywords"] | ||
|
||
[tool.hatch.build.targets.sdist] | ||
artifacts = ["labextension"] | ||
|
||
[tool.hatch.build.targets.wheel] | ||
packages = ["jupyterlab_display_name"] | ||
|
||
[tool.hatch.build.targets.wheel.shared-data] | ||
"jupyter_server_config.json" = "etc/jupyter/jupyter_server_config.d/jupyterlab_display_name.json" | ||
"labextension" = "share/jupyter/labextensions/jupyterlab-display-name" | ||
"install.json" = "share/jupyter/labextensions/jupyterlab-display-name/install.json" | ||
|
||
[tool.hatch.build.hooks.jupyter-builder] | ||
dependencies = ["hatch-jupyter-builder>=0.8.3"] | ||
build-function = "hatch_jupyter_builder.npm_builder" | ||
ensured-targets = ["labextension/package.json"] | ||
skip-if-exists = ["labextension/package.json"] | ||
|
||
[tool.hatch.build.hooks.jupyter-builder.build-kwargs] | ||
build_cmd = "build" | ||
npm = ["jlpm"] | ||
|
||
[tool.hatch.envs.default] | ||
description = "For running JupyterLab in development" | ||
|
Oops, something went wrong.