[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "px360"
version = "0.1.0"
description = "PX360 - Patient Experience 360 Management System for AlHammadi Group"
requires-python = ">=3.12"
dependencies = [
    "django>=5.0,<5.1",
    "djangorestframework>=3.14.0",
    "djangorestframework-simplejwt>=5.3.0",
    "django-environ>=0.11.0",
    "psycopg2-binary>=2.9.9",
    "celery>=5.3.0",
    "redis>=5.0.0",
    "django-celery-beat>=2.5.0",
    "drf-spectacular>=0.27.0",
    "django-filter>=23.5",
    "pillow>=10.0.0",
    "gunicorn>=21.2.0",
    "whitenoise>=6.6.0",
    "django-extensions>=4.1",
    "djangorestframework-stubs>=3.16.6",
    "rich>=14.2.0",
    "reportlab>=4.4.7",
    "weasyprint>=60.0",
    "openpyxl>=3.1.5",
    "litellm>=1.0.0",
    "watchdog>=6.0.0",
]

[project.optional-dependencies]
dev = [
    "pytest>=7.4.0",
    "pytest-django>=4.7.0",
    "pytest-cov>=4.1.0",
    "ruff>=0.1.0",
    "ipython>=8.18.0",
]

[tool.ruff]
line-length = 120
target-version = "py312"

[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
ignore = ["E501"]

[tool.setuptools.packages.find]
where = ["."]
include = ["config*", "apps*"]

[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "config.settings.dev"
python_files = ["tests.py", "test_*.py", "*_tests.py"]
addopts = "--reuse-db --nomigrations"
