#!/usr/bin/env python
"""Minimal Django manage.py for the AFI conformance fixture."""

import os
import sys


def main() -> None:
    here = os.path.dirname(os.path.abspath(__file__))
    # tests/afi/ must be on sys.path so apps.py can `from fixture import …`.
    sys.path.insert(0, os.path.dirname(here))
    sys.path.insert(0, here)
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "project.settings")
    from django.core.management import execute_from_command_line
    execute_from_command_line(sys.argv)


if __name__ == "__main__":
    main()
