Skip to content

fix: enable uv to install the ghscope CLI entrypoint#10

Merged
nazarli-shabnam merged 1 commit intomainfrom
fix/uv-package-console-script
Apr 3, 2026
Merged

fix: enable uv to install the ghscope CLI entrypoint#10
nazarli-shabnam merged 1 commit intomainfrom
fix/uv-package-console-script

Conversation

@nazarli-shabnam
Copy link
Copy Markdown
Member

closes #9

@nazarli-shabnam nazarli-shabnam self-assigned this Apr 3, 2026
Copilot AI review requested due to automatic review settings April 3, 2026 12:59
@nazarli-shabnam nazarli-shabnam added the bug Something isn't working label Apr 3, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the project configuration so uv treats ghscope as an installable package, which allows uv run ghscope ... to resolve the ghscope console script defined in pyproject.toml (closing #9).

Changes:

  • Add a PEP 517 [build-system] using hatchling so the project can be built/installed.
  • Enable uv packaging via [tool.uv] package = true so uv sync installs the project (and its console script).
  • Update uv.lock to reflect the project being installed from the repo as an editable source.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
pyproject.toml Adds build backend + uv packaging config so uv installs the project and exposes the ghscope CLI entrypoint.
uv.lock Updates the local ghscope package source to editable = ".", consistent with uv installing the project into the environment.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Member Author

@nazarli-shabnam nazarli-shabnam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nazarli-shabnam nazarli-shabnam merged commit a98dd6b into main Apr 3, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Install ghscope as a uv package so the ghscope CLI is available with uv run

2 participants