65 lines
1.3 KiB
TOML
65 lines
1.3 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "acupedia-api"
|
|
version = "1.0.0"
|
|
description = "FastAPI Backend API for Acupedia Learning Content, Subscriptions & Admin Platform"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
authors = [
|
|
{ name = "Acupedia Team" }
|
|
]
|
|
|
|
dependencies = [
|
|
"fastapi>=0.100.0",
|
|
"uvicorn[standard]>=0.20.0",
|
|
"python-dotenv>=1.0.0",
|
|
"PyYAML>=6.0",
|
|
"SQLAlchemy>=2.0.0",
|
|
"asyncpg>=0.28.0",
|
|
"python-jose[cryptography]>=3.3.0",
|
|
"passlib[bcrypt]>=1.7.4",
|
|
"argon2-cffi>=23.1.0",
|
|
"cryptography>=41.0.0",
|
|
"bcrypt>=4.0.0",
|
|
"pydantic>=2.0.0",
|
|
"pydantic-settings>=2.0.0",
|
|
"email-validator>=2.0.0",
|
|
"minio>=7.1.0",
|
|
"razorpay>=1.4.0",
|
|
"requests>=2.28.0",
|
|
"redis>=5.0.0",
|
|
"pillow>=10.0.0",
|
|
"alembic>=1.19.1",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0.0",
|
|
"pytest-asyncio>=0.21.0",
|
|
"httpx>=0.24.0",
|
|
"ruff>=0.1.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
acupedia-bootstrap = "app.bootstrap.cli:main"
|
|
acupedia-access = "app.cli.access:main"
|
|
|
|
[tool.setuptools]
|
|
packages = ["app"]
|
|
|
|
[tool.pytest.ini_options]
|
|
minversion = "7.0"
|
|
addopts = "-ra -q"
|
|
testpaths = [
|
|
"."
|
|
]
|
|
python_files = "test_*.py *_test.py"
|
|
asyncio_mode = "auto"
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py310"
|