Files
wedding-phone/pyproject.toml
grabowski d0bbaf6d4e Fix UV build issues by removing build system
**Issues Fixed:**
- Removed hatchling build-backend (not needed for scripts)
- Changed to --no-project mode (no editable install)
- UV now runs scripts directly without building

**Makefile Updated:**
- Uses 'uv run --no-project' to skip build
- Added 'make sync' to install dependencies
- Simplified dependency installation
- No more build errors

**Install Script Updated:**
- Uses 'make sync' instead of 'uv pip install -e .'
- Faster installation, no build step

**Usage:**
```bash
# Install dependencies
make sync

# Run the system (no build needed)
make start

# Everything just works!
```

**Why This Works:**
- No build system = no build errors
- Direct script execution via UV
- Dependencies installed separately
- Simpler, more reliable

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-24 16:59:03 +07:00

22 lines
443 B
TOML

[project]
name = "wedding-phone"
version = "1.0.0"
description = "Vintage rotary phone audio system for weddings and events"
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"flask>=2.3.0",
"numpy>=1.21.0",
"pyaudio>=0.2.13",
"RPi.GPIO>=0.7.1",
]
[project.scripts]
wedding-phone = "rotary_phone_web:main"
wedding-phone-test = "test_complete:main"
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
]