[epub-tts] Vendor aedocw backends and add adapter subclasses
- Add git submodules under src/vendor for the aedocw repositories: - epub2tts, epub2tts-edge, epub2tts-chatterbox, epub2tts-kokoro - Add adapter modules in src/epub_tts to run vendored packages in isolated venvs: - vendor_utils.py (creates/uses per-repo .venv and installs package) - epub2tts.py, epub2tts_edge.py, epub2tts_chatterbox.py, epub2tts_kokoro.py - Add aedocw_backend.py providing AedocwBackend and concrete subclasses that dispatch to the vendored adapters when selected via the CLI. - Add tts_edge shim for backward compatibility. - Register new backends in src/epub_tts/__main__.py and invoke the selected backend at runtime. - Update pyproject.toml to exclude vendored packages from setuptools package discovery. This change vendors upstream tools while providing thin adapters that invoke their CLIs inside isolated virtualenvs, and integrates them into the epub-tts backend registry. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
[submodule "src/vendor/epub2tts"]
|
||||
path = src/vendor/epub2tts
|
||||
url = https://github.com/aedocw/epub2tts
|
||||
[submodule "src/vendor/epub2tts-edge"]
|
||||
path = src/vendor/epub2tts-edge
|
||||
url = https://github.com/aedocw/epub2tts-edge
|
||||
[submodule "src/vendor/epub2tts-chatterbox"]
|
||||
path = src/vendor/epub2tts-chatterbox
|
||||
url = https://github.com/aedocw/epub2tts-chatterbox
|
||||
[submodule "src/vendor/epub2tts-kokoro"]
|
||||
path = src/vendor/epub2tts-kokoro
|
||||
url = https://github.com/aedocw/epub2tts-kokoro
|
||||
Reference in New Issue
Block a user