Skip to content

Commit b46b7be

Browse files
committed
Remove the need to manually install widget extension in classic notebook
1 parent 27567cb commit b46b7be

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

MANIFEST.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
include LICENSE
2+
include README.rst
3+
include README.md
4+
include plotlywidget.json

plotlywidget.json

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

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ def run(self):
246246
'plotlywidget/static/index.js',
247247
'plotlywidget/static/index.js.map',
248248
]),
249+
('etc/jupyter/nbconfig/notebook.d/', ['plotlywidget.json']),
249250
],
250251
install_requires=['decorator>=4.0.6',
251252
'nbformat>=4.2',

0 commit comments

Comments
 (0)