Skip to content

Commit 10eb6b8

Browse files
committed
Put nbresuse js files in appropriate path
How did this work before?
1 parent bd1118b commit 10eb6b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from glob import glob
12
import setuptools
23

34
setuptools.setup(
@@ -11,8 +12,8 @@
1112
'psutil',
1213
'notebook',
1314
],
14-
package_data={'nbresuse': ['static/*']},
1515
data_files=[
16+
('share/jupyter/nbextensions/nbresuse', glob('nbresuse/static/*')),
1617
('etc/jupyter/jupyter_notebook_config.d', ['nbresuse/etc/serverextension.json']),
1718
('etc/jupyter/nbconfig/notebook.d', ['nbresuse/etc/nbextension.json'])
1819
],

0 commit comments

Comments
 (0)