This README is for personal reference and for fellow researchers replicating results. UV from Astral manages the environment.
-
Install UV
- Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" - Others: UV Installation Guide
- Windows:
-
Update UV:
uv self update -
Recreate virtual environment:
uv sync⚠️ UV updates.venvautomatically, no need touv syncafter adding packages.
- Add a package:
uv add <package-name> - Remove a package:
uv remove <package-name> - Run a script:
uv run <script-name>💡 VSCode detects
.venvwhen run from the UI.
- run auto-py-to-exe
uv run auto-py-to-exe - scroll to th bottom to load the configuration file (auto-py-to-exe_conf.json)
- chaneg the name to the required version
uv run img2xlsx.py "[img name in root folder].jpg"