Make musetalk a proper Python package

Add missing __init__.py files so `musetalk.*` subpackages import
without relying on namespace-package behavior or sys.path hacks, and
narrow the root `/models/` gitignore so `musetalk/models/__init__.py`
is tracked.

Also add a minimal pyproject.toml so the source can be installed with
`pip install .` (or `pip install -e .`) without pulling the pinned
requirements.txt, which consumers typically need to override.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-14 23:02:52 -04:00
parent 0a89dec45a
commit ca5b7a8f28
7 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
*.pyc
.ipynb_checkpoints
results/
models/
/models/
**/__pycache__/
*.py[cod]
*$py.class