Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 8e8bea2

Browse files
committed
Copy root README to jupyterlab extension directory so npm finds it
1 parent e291686 commit 8e8bea2

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
/jupyter_dash/labextension/dist/
99
/jupyter_dash/labextension/package.json
1010
.ipynb_checkpoints
11+
/extensions/jupyterlab/README.md

setup.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ def run(self):
9292
cwd=in_labextension_dir,
9393
)
9494

95+
# Copy README to extension directory so npm finds it
96+
shutil.copy(
97+
os.path.join(here, "README.md"),
98+
os.path.join(here, "extensions", "jupyterlab", "README.md"),
99+
)
100+
95101

96102
def readme():
97103
with open(os.path.join(here, "README.md")) as f:

0 commit comments

Comments
 (0)