We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8375f3 commit df3970fCopy full SHA for df3970f
commands.py
@@ -9,7 +9,7 @@
9
from distutils import log
10
11
project_root = os.path.dirname(os.path.abspath(__file__))
12
-node_root = os.path.join(project_root, "js")
+node_root = os.path.join(project_root, "plotly", "labextension")
13
is_repo = os.path.exists(os.path.join(project_root, ".git"))
14
node_modules = os.path.join(node_root, "node_modules")
15
targets = [
@@ -23,9 +23,9 @@
23
]
24
)
25
26
-# Load plotly.js version from js/package.json
+# Load plotly.js version from plotly/labextension/package.json
27
def plotly_js_version():
28
- path = os.path.join(project_root, "js", "package.json")
+ path = os.path.join(project_root, "plotly", "labextension", "package.json")
29
with open(path, "rt") as f:
30
package_json = json.load(f)
31
version = package_json["dependencies"]["plotly.js"]
0 commit comments