adding pyproject.toml and specs.md
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=68.0", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "choreus"
|
||||
version = "1.0.0"
|
||||
description = "ChoreUS - Home Chore Manager Web Application"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.13"
|
||||
license = { text = "MIT" }
|
||||
|
||||
dependencies = [
|
||||
# Web framework
|
||||
"fastapi>=0.141.0",
|
||||
"uvicorn>=0.52.0",
|
||||
"starlette>=1.6.0",
|
||||
|
||||
# Database
|
||||
"sqlalchemy>=2.0.0",
|
||||
"greenlet>=3.0.0",
|
||||
|
||||
# Data validation
|
||||
"pydantic>=2.13.0",
|
||||
"pydantic-core>=2.46.0",
|
||||
"annotated-types>=0.6.0",
|
||||
"email-validator>=2.0.0",
|
||||
"typing-extensions>=4.8.0",
|
||||
"typing-inspection>=0.4.0",
|
||||
|
||||
# Authentication
|
||||
"pyjwt>=2.13.0",
|
||||
"passlib>=1.7.4",
|
||||
"bcrypt>=5.0.0",
|
||||
"python-multipart>=0.0.32",
|
||||
"google-auth>=2.56.0",
|
||||
"cryptography>=50.0.0",
|
||||
|
||||
# Google Auth transport
|
||||
"requests>=2.34.0",
|
||||
"certifi>=2026.0.0",
|
||||
"idna>=3.18",
|
||||
"urllib3>=2.7.0",
|
||||
"charset-normalizer>=3.4.0",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
# Testing
|
||||
"pytest>=9.1.0",
|
||||
"httpx>=0.28.0",
|
||||
|
||||
# Misc dev tooling
|
||||
"pygments>=2.20.0",
|
||||
]
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["."]
|
||||
include = ["backend*"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["backend/tests"]
|
||||
python_files = ["test_*.py"]
|
||||
python_functions = ["test_*"]
|
||||
|
||||
[tool.choreus.dev-server]
|
||||
# Start the backend dev server with:
|
||||
# uvicorn backend.main:app --host 127.0.0.1 --port 8000 --reload
|
||||
app = "backend.main:app"
|
||||
host = "127.0.0.1"
|
||||
port = 8000
|
||||
reload = true
|
||||
Reference in New Issue
Block a user