# Include documentation and configuration files
include README.md
include LICENSE.txt
include CHANGELOG.rst
include CONTRIBUTING.rst
include AUTHORS.rst
include pyproject.toml
include setup.py
include setup.cfg

# Include requirements files
include requirements*.txt
include pytest.ini
include .coveragerc
include mypy_dev.ini

# Include installation and build scripts
include install-sudo-wrapper.sh
include Containerfile
include .dockerignore
include entrypoint.sh

# Include documentation
recursive-include docs *.md *.rst *.txt *.py Makefile

# Include TUI styles
recursive-include src/tui/styles *.tcss

# Include donor dump C code and Makefile
recursive-include src/donor_dump *.c *.h Makefile*

# Include templates
recursive-include src/templates *.j2 *.md

# Include scripts
recursive-include src/scripts *.py

# Include board and config files
recursive-include boards *.yaml
recursive-include configs *.yaml

# Include PCILeech RTL and simulation files
recursive-include pcileech *.sv *.svh

# Exclude build artifacts and cache
global-exclude *.pyc
global-exclude *.pyo
global-exclude *.pyd
global-exclude __pycache__
global-exclude .pytest_cache
global-exclude *.egg-info
global-exclude .git/
global-exclude .DS_Store
global-exclude *.log
global-exclude output/**
global-exclude build/**
global-exclude dist/**
global-exclude .mypy_cache
global-exclude .coverage
global-exclude htmlcov