File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 99from distutils import log
1010
1111project_root = os .path .dirname (os .path .abspath (__file__ ))
12- node_root = os .path .join (project_root , "js " )
12+ node_root = os .path .join (project_root , "plotly" , "labextension " )
1313is_repo = os .path .exists (os .path .join (project_root , ".git" ))
1414node_modules = os .path .join (node_root , "node_modules" )
1515targets = [
2323 ]
2424)
2525
26- # Load plotly.js version from js /package.json
26+ # Load plotly.js version from plotly/labextension /package.json
2727def plotly_js_version ():
28- path = os .path .join (project_root , "js " , "package.json" )
28+ path = os .path .join (project_root , "plotly" , "labextension " , "package.json" )
2929 with open (path , "rt" ) as f :
3030 package_json = json .load (f )
3131 version = package_json ["dependencies" ]["plotly.js" ]
You can’t perform that action at this time.
0 commit comments