foxnouns/pyproject.toml

45 lines
1.2 KiB
TOML
Raw Normal View History

2024-03-13 17:03:18 +01:00
[tool.poetry]
name = "foxnouns"
version = "0.1.0"
description = ""
authors = ["sam <sam@sleepycat.moe>"]
license = "Apache-2.0"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
sqlalchemy = { extras = ["asyncio"], version = "^2.0.28" }
psycopg = "^3.1.18"
celery = { extras = ["redis"], version = "^5.3.6" }
quart = "^0.19.4"
2024-03-22 17:11:18 +01:00
# Temporary until a release containing this commit is made:
# https://github.com/pgjones/quart-schema/commit/9f4455a1363c6edd2b23b898c554e52a9ce6d00f
quart-schema = { git = "https://github.com/pgjones/quart-schema.git" }
# quart-schema = { extras = ["pydantic"], version = "^0.19.1" }
2024-03-13 17:03:18 +01:00
pydantic = "^2.6.3"
itsdangerous = "^2.1.2"
uvicorn = "^0.28.0"
asyncpg = "^0.29.0"
environs = "^11.0.0"
alembic = "^1.13.1"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = "^8.0.2"
pytest-asyncio = "^0.23.5.post1"
2024-03-14 02:35:42 +01:00
[tool.poe.tasks]
2024-03-20 03:37:11 +01:00
dev = "env QUART_APP=foxnouns.app:app quart --debug run --reload"
2024-03-14 02:35:42 +01:00
server = "uvicorn 'foxnouns.app:app'"
migrate = "alembic upgrade head"
test = "pytest"
2024-03-13 17:03:18 +01:00
[tool.pytest.ini_options]
addopts = ["--import-mode=importlib"]
2024-03-14 02:35:42 +01:00
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"