Skip to content

Commit

Permalink
update pf evals msi package
Browse files Browse the repository at this point in the history
  • Loading branch information
Ying Chen committed May 6, 2024
1 parent 845dcf7 commit b3d9b0f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scripts/installer/windows/scripts/promptflow.spec.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,22 @@ for package in meta_packages:
datas += copy_metadata(package)

opentelemetry_datas, opentelemetry_binaries, opentelemetry_hiddenimports = collect_all('opentelemetry')
promptflow_evals_datas, promptflow_evals_binaries, promptflow_evals_hiddenimports = collect_all('promptflow-evals')

datas += opentelemetry_datas
datas += promptflow_evals_datas
datas += collect_data_files('streamlit_quill')
datas += collect_data_files('promptflow')
datas += copy_metadata('promptflow')
datas += collect_data_files('promptflow-evals')
datas += copy_metadata('promptflow-evals')

hidden_imports = ['win32timezone', 'promptflow', 'opentelemetry.context.contextvars_context', 'streamlit.runtime.scriptrunner.magic_funcs'] + {{hidden_imports}}

hidden_imports += opentelemetry_hiddenimports
hidden_imports += promptflow_evals_hiddenimports

binaries = []
binaries += opentelemetry_binaries
binaries += promptflow_evals_binaries

block_cipher = None

Expand Down

0 comments on commit b3d9b0f

Please sign in to comment.