-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
When using modern Python tool installers like uvx (from uv), the default behavior is to assume the executable name matches the package name.
Running:
> uvx sherlock-projectFails because the executable is named sherlock.
uvx sherlock-project
An executable named `sherlock-project` is not provided by package `sherlock-project`.
The following executables are available:
- sherlock
Use `uvx --from sherlock-project sherlock` instead.While the suggested workaround (uvx --from sherlock-project sherlock) works, it's not intuitive and creates a bit more friction for new users.
My feature request is a single line addition to the pyproject.toml file
[tool.poetry.scripts]
sherlock = 'sherlock_project.sherlock:main'
sherlock-project = 'sherlock_project.sherlock:main' # <<<Which would make running through uvx (and pipx) simpler
> uvx sherlock-project --version
Sherlock v0.16.0This seems like a simple, non-breaking change that would be a great quality-of-life improvement, thanks for considering.
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request