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

Commit d8e7832

Browse files
committed
Copy images directory to JupyterLab extension dir for npm publish
1 parent 8e8bea2 commit d8e7832

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.gitignore

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

setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,11 @@ def run(self):
9898
os.path.join(here, "extensions", "jupyterlab", "README.md"),
9999
)
100100

101+
shutil.copytree(
102+
os.path.join(here, "images"),
103+
os.path.join(here, "extensions", "jupyterlab", "images"),
104+
)
105+
101106

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

0 commit comments

Comments
 (0)