Skip to content

Commit

Permalink
Update promptflow evals msi package (microsoft#3109)
Browse files Browse the repository at this point in the history
# Description

![image](https://github.com/microsoft/promptflow/assets/26239730/eb5a6bd1-44cf-4c9a-8ce7-b9c5f0fa8ec4)


![image](https://github.com/microsoft/promptflow/assets/26239730/b0bb41a0-5067-4bd7-88de-9314ac382d66)

# All Promptflow Contribution checklist:
- [ ] **The pull request does not introduce [breaking changes].**
- [ ] **CHANGELOG is updated for new features, bug fixes or other
significant changes.**
- [ ] **I have read the [contribution guidelines](../CONTRIBUTING.md).**
- [ ] **Create an issue and link to the pull request to get dedicated
review from promptflow team. Learn more: [suggested
workflow](../CONTRIBUTING.md#suggested-workflow).**

## General Guidelines and Best Practices
- [ ] Title of the pull request is clear and informative.
- [ ] There are a small number of commits, each of which have an
informative message. This means that previously merged commits do not
appear in the history of the PR. For more information on cleaning up the
commits in your PR, [see this
page](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/cleaning-up-commits.md).

### Testing Guidelines
- [ ] Pull request includes test coverage for the included changes.

---------

Co-authored-by: Ying Chen <[email protected]>
Co-authored-by: Ge Gao <[email protected]>
Co-authored-by: Ge Gao <[email protected]>
Co-authored-by: Honglin <[email protected]>
Co-authored-by: riddle xu <[email protected]>
Co-authored-by: Yangtong Xu <[email protected]>
  • Loading branch information
7 people authored May 7, 2024
1 parent 39abb83 commit 61f23df
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions scripts/installer/windows/scripts/promptflow.spec.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,19 @@ for package in meta_packages:
datas += copy_metadata(package)

opentelemetry_datas, opentelemetry_binaries, opentelemetry_hiddenimports = collect_all('opentelemetry')
promptflow_datas, promptflow_binaries, promptflow_hiddenimports = collect_all('promptflow')
datas += opentelemetry_datas
datas += promptflow_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_hiddenimports

binaries = []
binaries += opentelemetry_binaries
binaries += promptflow_binaries

block_cipher = None

Expand Down

0 comments on commit 61f23df

Please sign in to comment.