File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -290,6 +290,14 @@ def run(self):
290290 ext_modules = ext_modules ,
291291 package_dir = package_dir ,
292292 package_data = package_data ,
293+ include_package_data = True ,
294+ data_files = [
295+ ('share/jupyter/nbextensions/matplotlib' , [
296+ 'lib/matplotlib/backends/web_backend/js/extension.js' ,
297+ 'lib/matplotlib/backends/web_backend/js/nbagg_mpl.js' ,
298+ 'lib/matplotlib/backends/web_backend/js/mpl.js' ,
299+ ]),
300+ ],
293301 classifiers = classifiers ,
294302 download_url = "http://matplotlib.org/users/installing.html" ,
295303
Original file line number Diff line number Diff line change @@ -676,7 +676,7 @@ def get_package_data(self):
676676 'backends/web_backend/jquery/css/themes/base/*.min.css' ,
677677 'backends/web_backend/jquery/css/themes/base/images/*' ,
678678 'backends/web_backend/css/*.*' ,
679- 'backends/web_backend/nbextension /*.js' ,
679+ 'backends/web_backend/js /*.js' ,
680680 'backends/Matplotlib.nib/*' ,
681681 'mpl-data/stylelib/*.mplstyle' ,
682682 ]}
You can’t perform that action at this time.
0 commit comments