- Replace Flask development server with Waitress production WSGI server - Add waitress>=2.1.0 dependency to pyproject.toml and Makefile - Configure 4-thread server for better performance and stability - Create comprehensive CLAUDE.md guide for future development - Document architecture, deployment, testing, and common patterns - Update README.md with production-ready feature and dependencies Eliminates Flask development server warning and provides production-grade web serving suitable for Raspberry Pi deployment. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
23 lines
466 B
TOML
23 lines
466 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",
|
|
"waitress>=2.1.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
wedding-phone = "rotary_phone_web:main"
|
|
wedding-phone-test = "test_complete:main"
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0.0",
|
|
]
|