File: 00-remove-unused-js-files.patch

package info (click to toggle)
plotly 3.6.1%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 68,392 kB
  • sloc: python: 259,604; sh: 58; makefile: 4
file content (30 lines) | stat: -rw-r--r-- 1,122 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Description:  Remove autogenerated js files
Author: Josue Ortega <josue@debian.org>
Last-Update: 2018-11-25

--- a/setup.py
+++ b/setup.py
@@ -276,23 +276,5 @@
                 '_plotly_utils'] + graph_objs_packages + validator_packages,
       package_data={'plotly': ['package_data/*', 'package_data/templates/*'],
                     'plotlywidget': ['static/*']},
-      data_files=[
-          ('share/jupyter/nbextensions/plotlywidget', [
-              'plotlywidget/static/extension.js',
-              'plotlywidget/static/index.js',
-              'plotlywidget/static/index.js.map',
-          ]),
-          ('etc/jupyter/nbconfig/notebook.d', ['plotlywidget.json']),
-      ],
       zip_safe=False,
-      cmdclass={
-          'build_py': js_prerelease(build_py),
-          'egg_info': js_prerelease(egg_info),
-          'sdist': js_prerelease(sdist, strict=True),
-          'jsdeps': NPM,
-          'codegen': CodegenCommand,
-          'updateschema': UpdateSchemaCommand,
-          'updatebundle': UpdateBundleCommand,
-          'updateplotlyjs': js_prerelease(UpdatePlotlyJsCommand)
-      },
 )