51 lines
1.2 KiB
TOML
51 lines
1.2 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=68", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "portfoliohub"
|
|
version = "0.3.1"
|
|
description = "PortfolioHub API for portfolio management and ledger access"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"alembic>=1.14.0,<2.0.0",
|
|
"cryptography>=42.0.0,<48.0.0",
|
|
"fastapi>=0.115.0,<1.0.0",
|
|
"pydantic-settings>=2.4.0,<3.0.0",
|
|
"psycopg[binary]>=3.2.0,<4.0.0",
|
|
"python-dotenv>=1.0.0,<2.0.0",
|
|
"rich>=13.9.0,<14.0.0",
|
|
"typer>=0.12.5,<1.0.0",
|
|
"uvicorn[standard]>=0.30.0,<1.0.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
pfhub = "app.cli.main:main"
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"httpx>=0.27.0,<1.0.0",
|
|
"pre-commit>=3.8.0,<4.0.0",
|
|
"pytest>=8.3.0,<9.0.0",
|
|
"ruff>=0.12.0,<1.0.0",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = ["tests"]
|
|
testpaths = ["tests"]
|
|
norecursedirs = ["temp", ".git", ".venv"]
|
|
|
|
[tool.ruff.lint.isort]
|
|
known-first-party = ["app", "scripts"]
|
|
|
|
[tool.setuptools]
|
|
package-dir = {"" = "."}
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["app*"]
|
|
|
|
[tool.setuptools.package-data]
|
|
"app.db.alembic" = ["alembic.ini", "script.py.mako"]
|
|
"app.db.alembic.versions" = ["*.py"]
|