Skip to content

feat: add packaged console script entrypoint to support uvx execution#385

Merged
wangauone merged 7 commits into
mainfrom
feat/uvx-support
May 11, 2026
Merged

feat: add packaged console script entrypoint to support uvx execution#385
wangauone merged 7 commits into
mainfrom
feat/uvx-support

Conversation

@wangauone
Copy link
Copy Markdown
Collaborator

This PR adds support for running evalbench globally using uvx evalbench from anywhere in the terminal.

What Changed

  • Exposed CLI Command: Registered evalbench as a command-line script inside pyproject.toml.
  • Created Entrypoint: Added a simple run() function in evalbench.py to boot up the program.
  • Fixed Global Imports: Added a search-path map in __init__.py to make sure Python can find our internal files (like util and reporting) when the package is installed globally.

How to Test

uv build
uvx --from dist/evalbench-1.7.1-py3-none-any.whl evalbench --help

@wangauone wangauone requested a review from IsmailMehdi as a code owner May 11, 2026 16:51
@wangauone
Copy link
Copy Markdown
Collaborator Author

/gcbrun

@IsmailMehdi
Copy link
Copy Markdown
Collaborator

/gcbrun

@wangauone wangauone merged commit 8ea07f8 into main May 11, 2026
6 checks passed
@wangauone wangauone deleted the feat/uvx-support branch May 11, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants