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

package info (click to toggle)
plotly 5.4.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 90,200 kB
  • sloc: python: 368,793; javascript: 213,159; sh: 49; makefile: 4
file content (28 lines) | stat: -rw-r--r-- 983 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
Description:  Remove autogenerated js files
Author: Josue Ortega <josue@debian.org>
Last-Update: 2021-12-08
Forwarded: not-needed

--- a/setup.py
+++ b/setup.py
@@ -536,20 +536,5 @@
     ]
     + graph_objs_packages
     + validator_packages,
-    data_files=[("etc/jupyter/nbconfig/notebook.d", ["jupyterlab-plotly.json"]),],
     zip_safe=False,
-    cmdclass=dict(
-        build_py=js_prerelease(versioneer_cmds["build_py"]),
-        egg_info=js_prerelease(egg_info),
-        sdist=js_prerelease(versioneer_cmds["sdist"], strict=True),
-        jsdeps=NPM,
-        codegen=CodegenCommand,
-        updateschema=UpdateSchemaCommand,
-        updatebundle=UpdateBundleCommand,
-        updateplotlyjs=js_prerelease(UpdatePlotlyJsCommand),
-        updatebundleschemadev=UpdateBundleSchemaDevCommand,
-        updateplotlyjsdev=UpdatePlotlyJsDevCommand,
-        updateplotlywidgetversion=UpdatePlotlywidgetVersionCommand,
-        version=versioneer_cmds["version"],
-    ),
 )