# Sightline — Python tooling, pinned.
#
# Install:  .venv/bin/python3 -m pip install -r requirements.txt
# Created by: make venv
#
# Scope note: the MATCHING BUILD ITSELF NEEDS NONE OF THESE. The four scripts
# the Makefile invokes (scripts/make/sync_imagelist_with_def.py,
# scripts/generate_{prop_model,chr,gun}_c.py) import only the Python standard
# library. Everything below exists for tools/diff.py, the vendored asm-differ
# used via scripts/asmdiff.sh, which is the core decomp comparison workflow.
#
# Deliberately NOT included (see docs/toolchain.md):
#   splat     — this decomp uses its own extractor (tools/extractor), not splat.
#   capstone  — replaced by the vendored rabbitizer in tools/ido5.3_recomp.
#   permuter  — not vendored and not referenced by any build path.
# Add them only when something actually imports them.

# --- tools/diff.py hard requirements (module-level import; absence is fatal) ---
colorama==0.4.6
watchdog==6.0.0

# --- tools/diff.py lazy requirements (default diff algorithm + --source) ---
Levenshtein==0.27.4
cxxfilt==0.3.0
argcomplete==3.7.2

# --- transitive, pinned for reproducibility ---
RapidFuzz==3.14.5

# --- texture-pack preparation, tools/texpack (#47) ---
# DEVELOPER TOOL ONLY, and only for the Python converter: Pillow decodes the
# Community HD PNGs, numpy decodes the XBLA block formats. NOTHING in the
# engine, the native build, CI or a release package links either - a player
# who runs the packaged Get-Textures.cmd needs no Python at all, and a
# checkout without Pillow falls back to that same PowerShell converter.
# tools/texpack/selftest.py SKIPS the checks that need them rather than
# failing, so a clone without them still runs the suite.
Pillow==12.3.0
numpy==2.5.3
