| [project] | |
| name = "midnight-static" | |
| version = "0.1.0" | |
| description = "A small-model radio-drama generator for the Build Small Hackathon." | |
| readme = "README.md" | |
| requires-python = ">=3.11" | |
| dependencies = [] | |
| [build-system] | |
| requires = ["hatchling"] | |
| build-backend = "hatchling.build" | |
| [tool.hatch.build.targets.wheel] | |
| packages = ["src/midnight_static"] | |
| [tool.hatch.metadata] | |
| allow-direct-references = true | |
| [project.optional-dependencies] | |
| dev = [ | |
| "pytest>=8.0", | |
| ] | |
| tts = [ | |
| "en-core-web-sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl", | |
| "kokoro>=0.9.0", | |
| "soundfile>=0.12.1", | |
| ] | |
| writer = [ | |
| "accelerate>=1.0.0", | |
| "transformers>=5.0.0", | |
| "torch>=2.0.0", | |
| ] | |
| space = [ | |
| "gradio>=5.0.0", | |
| ] | |
| [tool.pytest.ini_options] | |
| pythonpath = ["src"] | |
| testpaths = ["tests"] | |
| [tool.ruff] | |
| line-length = 100 | |
| target-version = "py311" | |
| [dependency-groups] | |
| dev = [ | |
| "pytest>=8.0", | |
| ] | |