Initial project scaffold with uv

This commit is contained in:
2026-04-01 15:52:58 -07:00
commit a1b5e72032
5 changed files with 31 additions and 0 deletions

14
.gitignore vendored Normal file
View File

@@ -0,0 +1,14 @@
__pycache__/
*.py[cod]
*$py.class
*.egg-info/
*.egg
dist/
build/
.eggs/
*.whl
.venv/
.ruff_cache/
.mypy_cache/
.pytest_cache/
.env

1
.python-version Normal file
View File

@@ -0,0 +1 @@
3.13

14
pyproject.toml Normal file
View File

@@ -0,0 +1,14 @@
[project]
name = "rp"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
authors = [
{ name = "Yunxiao Xu", email = "xuyunxiao2001@gmail.com" }
]
requires-python = ">=3.12"
dependencies = []
[build-system]
requires = ["uv_build>=0.11.2,<0.12.0"]
build-backend = "uv_build"

2
src/rp/__init__.py Normal file
View File

@@ -0,0 +1,2 @@
def hello() -> str:
return "Hello from rp!"

0
src/rp/py.typed Normal file
View File