Skip to content

Add uv support#5

Open
AlvinNg727 wants to merge 2 commits into
havokentity:masterfrom
AlvinNg727:feat/uv
Open

Add uv support#5
AlvinNg727 wants to merge 2 commits into
havokentity:masterfrom
AlvinNg727:feat/uv

Conversation

@AlvinNg727
Copy link
Copy Markdown

This pr adds support for using uv

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

Adds support for managing/installing this project’s Python dependencies with uv, alongside the existing requirements.txt workflow.

Changes:

  • Added pyproject.toml to define project metadata and dependencies for uv/PEP 621 tooling.
  • Added uv.lock to lock transitive dependencies for reproducible installs via uv.
  • Updated README.md to mention installing with uv sync, and adjusted the usage intro.
  • Added .python-version to indicate the intended Python version line.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.

File Description
uv.lock Introduces uv’s lockfile to pin dependency resolution.
pyproject.toml Defines project dependencies for uv-based installs.
README.md Documents uv installation and updates usage wording.
.python-version Records the project’s target Python version.

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

Comment thread README.md
Comment thread README.md
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

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.


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

Comment thread README.md
Comment on lines +55 to 72
Run the script with either [uv](https://docs.astral.sh/uv/) or Python:

1. To download icons for specific games, provide the app IDs:

```bash
python SteamIconsFix.py 730 440 570 228980
```

2. To print the list of installed games, run:

```bash
python SteamIconsFix.py list
```

3. To download icons for all installed games, run:

```bash
python SteamIconsFix.py all
Copy link

Copilot AI Apr 10, 2026

Choose a reason for hiding this comment

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

The Usage section says the script can be run with uv or Python, but all examples only show python SteamIconsFix.py .... Add explicit uv commands (e.g., uv run python SteamIconsFix.py ..., or document how to run via the .venv created by uv sync) so the documented uv pathway is actually actionable.

Copilot uses AI. Check for mistakes.
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.

3 participants