[project] name = "yunke-server" version = "0.1.0" description = "云客数据本地化系统 - Python backend" requires-python = ">=3.11" dependencies = [ "fastapi", "uvicorn[standard]", "sqlalchemy[asyncio]", "asyncmy", # Pure-Python sync MySQL driver used by Alembic migrations (env.py swaps # the production ``mysql+asyncmy`` URL to ``mysql+pymysql`` for the sync # migration engine). "pymysql", "alembic", "redis", "httpx", "playwright", "apscheduler", "pydantic", "pydantic-settings", "cryptography", ] [project.optional-dependencies] dev = [ "pytest", "pytest-asyncio", "aiosqlite", "respx", "ruff", ] [build-system] requires = ["setuptools>=68"] build-backend = "setuptools.build_meta" [tool.setuptools.packages.find] where = ["."] include = ["app*"] [tool.pytest.ini_options] asyncio_mode = "auto" testpaths = ["tests"] [tool.ruff] line-length = 100 target-version = "py311"