Skip to content

Commit 04c1cb4

Browse files
author
minjk-bl
committed
jupyterlab 4.x support setting
1 parent 9d93210 commit 04c1cb4

File tree

10 files changed

+15517
-14549
lines changed

10 files changed

+15517
-14549
lines changed

jupyterlab/.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
*.bundle.*
22
node_modules/
3+
*.log
4+
.eslintcache
5+
.stylelintcache
36
*.egg-info/
47
.ipynb_checkpoints
58
*.tsbuildinfo
69
visualpython/labextension
10+
jupyterlab-visualpython/labextension
11+
# Version file is handled by hatchling
12+
jupyterlab-visualpython/_version.py
713

814
# Created by https://www.gitignore.io/api/python
915
# Edit at https://www.gitignore.io/?templates=python
@@ -54,6 +60,7 @@ htmlcov/
5460
.coverage.*
5561
.cache
5662
nosetests.xml
63+
coverage/
5764
coverage.xml
5865
*.cover
5966
.hypothesis/
@@ -108,3 +115,6 @@ dmypy.json
108115

109116
# OSX files
110117
.DS_Store
118+
119+
# Yarn cache
120+
.yarn/

jupyterlab/.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

jupyterlab/binder/postBuild

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
""" perform a development install of visualpython
2+
""" perform a development install of jupyterlab-visualpython
33
44
On Binder, this will run _after_ the environment has been fully created from
55
the environment.yml in this directory.
@@ -31,6 +31,7 @@ _(sys.executable, "-m", "pip", "check")
3131

3232
# install the labextension
3333
_(sys.executable, "-m", "pip", "install", "-e", ".")
34+
_(sys.executable, "-m", "jupyter", "labextension", "develop", "--overwrite", ".")
3435

3536
# verify the environment the extension didn't break anything
3637
_(sys.executable, "-m", "pip", "check")
@@ -42,5 +43,5 @@ _("jupyter", "server", "extension", "list")
4243
_("jupyter", "labextension", "list")
4344

4445

45-
print("JupyterLab with visualpython is ready to run with:\n")
46+
print("JupyterLab with jupyterlab-visualpython is ready to run with:\n")
4647
print("\tjupyter lab\n")

0 commit comments

Comments
 (0)