Skip to content

Commit 95232c2

Browse files
committed
Add configuration dir data files
Gives automatic enabling of nbextension for notebook >= 5.3
1 parent 20cd266 commit 95232c2

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"load_extensions": {
3+
"jupyter-threejs/extension": true
4+
}
5+
}

setup.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,17 @@
3131
'js',
3232
data_files_spec=[
3333
('share/jupyter/nbextensions/jupyter-threejs',
34-
name + '/static', '*.js'),
34+
name + '/static',
35+
'*.js'),
3536
('share/jupyter/nbextensions/jupyter-threejs',
36-
name + '/static', '*.js.map'),
37+
name + '/static',
38+
'*.js.map'),
3739
('share/jupyter/lab/extensions',
38-
'js/lab-dist', 'jupyter-threejs-*.tgz'),
40+
'js/lab-dist',
41+
'jupyter-threejs-*.tgz'),
42+
('etc/jupyter/nbconfig',
43+
'jupyter-config',
44+
'**/*.json'),
3945
],
4046
)
4147
cmdclass['js'] = combine_commands(

0 commit comments

Comments
 (0)