# requirements-ddc.txt -- the optional DDC export dependency (DDC-LIB), pinned.
#
# DDC-LIB ("ddc") backs the optional DDC export surface (scripts/ddc_export.py and
# src/claude_archive_mcp/ddc_export.py; see docs/DDC_EXPORT.md). It is NOT required by the base
# server or the eleven frozen 1.x tools -- the export module and its tests skip cleanly when ddc
# is absent.
#
# Why this is a separate requirements file and NOT a [project.optional-dependencies] extra in
# pyproject.toml: ddc is not on a package index yet, so the only way to depend on it is a direct
# VCS (git+) URL. PyPI categorically rejects any *published* package whose wheel/sdist METADATA
# carries a direct-URL dependency, and a git+ URL placed in an OPTIONAL extra still lands in
# published METADATA as `Requires-Dist: ddc @ git+... ; extra == "ddc"` (verified by building a
# wheel with the extra re-added -- it emits exactly that line). The 1.2.0 PyPI upload failed the
# register step on precisely this; the [ddc] extra was removed in 1.2.1 to keep the wheel
# installable.
#
# This file is a SOURCE / DEV-only expression. The published wheel ships only
# src/claude_archive_mcp, so this file is never packaged into it -- the published METADATA stays
# free of any ' @ git+' line and the release gate (grep the built wheel METADATA for ' @ git+')
# stays green. From a source checkout, install the ddc-enabled export surface in one command:
#
#     pip install -r requirements-ddc.txt
#
# The ddc repo is PRIVATE, so this needs your own GitHub auth. For local development against an
# on-disk ddc checkout, `pip install -e <ddc-repo>` is equivalent and needs no auth.
#
# Pinned to tag v0.1.0 (commit ee2fee80ba8caa34a4cbe81a9193b1293ba3ae8f), byte-identical to the
# previously-consumed hub a3b2fc5:libs/ddc (an audited, deliberate pin). This one line is the
# single source of truth for the pin -- bump it here when the consumed ddc version changes.
# Re-add a published [ddc] extra ONLY once ddc ships a real package-index version spec -- never a
# git+ URL in shipped metadata.
ddc @ git+https://github.com/manderse21/ddc.git@v0.1.0
