Files
compiler-explorer/etc/scripts/shortlinkmigration/pyproject.toml
Matt Godbolt 7c48f67043 Migrate ce-properties-wizard and shortlinkmigration from Poetry to uv (#8559)
## Summary
- Convert both subprojects from Poetry to uv with PEP 621 `[project]`
table format
- Replace `poetry.lock` with `uv.lock`
- Update `run.sh` and `run.ps1` to use `uv` instead of `poetry`
- Simplify `run.ps1` (removed Git Bash workaround, uv handles venvs
natively)
- Update READMEs to reference uv
- Broaden `.gitignore` for all subproject Python artifacts (`.venv`,
`.uv`, `.egg-info`)

Depends on #update-subproject-dependencies (base branch).

## Test plan
- [x] `uv sync --all-extras` works for ce-properties-wizard
- [x] `uv run ce-props-wizard --list-types` works
- [x] `uv run ce-props-wizard /usr/bin/g++ --verify-only` detects GCC
correctly
- [x] `uv run black --check .` and `uv run ruff check .` work
- [x] `uv sync` works for shortlinkmigration
- [x] `uv run python -c "import boto3"` works

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 20:53:57 +00:00

19 lines
394 B
TOML

[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "shortlink-migration"
version = "0.1.0"
description = "Migrate Compiler Explorer shortlinks from local storage to AWS S3/DynamoDB"
requires-python = ">=3.8"
dependencies = [
"boto3>=1.26.0",
]
[project.scripts]
migrate-shortlinks = "migrate_shortlinks:main"
[tool.uv]
package = true