File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
packages/python/plotly/codegen Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -83,9 +83,8 @@ def perform_codegen():
83
83
# ---------------------------------
84
84
# (relative to project root)
85
85
abs_file_path = opath .realpath (__file__ )
86
- project_root = opath .dirname (opath .dirname (opath .dirname (abs_file_path )))
87
-
88
- outdir = opath .join (project_root , 'plotly-package' , 'plotly' )
86
+ packages_py = opath .dirname (opath .dirname (opath .dirname (abs_file_path )))
87
+ outdir = opath .join (packages_py , 'plotly' , 'plotly' )
89
88
90
89
# Delete prior codegen output
91
90
# ---------------------------
@@ -107,8 +106,8 @@ def perform_codegen():
107
106
# Load plotly schema
108
107
# ------------------
109
108
plot_schema_path = opath .join (
110
- project_root ,
111
- 'plotly-package ' ,
109
+ packages_py ,
110
+ 'plotly' ,
112
111
'codegen' ,
113
112
'resources' ,
114
113
'plot-schema.json' ,
You can’t perform that action at this time.
0 commit comments