| [build-system] | |
| requires = ["setuptools>=68"] | |
| build-backend = "setuptools.build_meta" | |
| [project] | |
| name = "music3lab" | |
| version = "0.1.1" | |
| description = "Open research toolkit extending MiniMax-Music3: arbitrary-audio encoding, continuation, inpainting, prepend, prompt-free generation, and objective evaluation" | |
| readme = "README.md" | |
| license = { text = "Apache-2.0" } | |
| requires-python = ">=3.10" | |
| dependencies = [ | |
| "huggingface_hub", | |
| "numpy", | |
| "psutil", | |
| "pydantic>=2", | |
| "PyYAML", | |
| "safetensors", | |
| "soundfile", | |
| "torch>=2.10.0", | |
| ] | |
| [project.optional-dependencies] | |
| capture = [ | |
| "accelerate", | |
| "diffusers @ git+https://github.com/huggingface/diffusers.git@90b4e34e79a86ec5e7f2437634fe95ecd2108796", | |
| "transformers", | |
| ] | |
| [project.scripts] | |
| music3lab = "music3lab.__main__:main" | |
| music3-checkpoint-audit = "music3lab.checkpoint_audit_cli:main" | |
| [tool.setuptools] | |
| packages = [ | |
| "music3lab", | |
| "music3lab.autonomous", | |
| "music3lab.codec", | |
| "music3lab.editing", | |
| ] | |
| package-dir = {music3lab = "src/music3lab"} | |
| py-modules = [ | |
| "capture_generated_tokens", | |
| "encode_audio", | |
| "inspect_dav", | |
| "native_token_compatibility", | |
| "round_trip_test", | |
| ] | |
| [tool.pytest.ini_options] | |
| testpaths = ["tests"] | |
| addopts = "-q" | |