Files
abogen/pyproject.toml
T

91 lines
2.5 KiB
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "abogen"
description = "Generate audiobooks from EPUBs, PDFs and text with synchronized captions."
authors = [
{ name="Deniz Şafak", email="denizsafak98@gmail.com" }
]
readme = "README.md"
license = "MIT"
requires-python = ">=3.10, <3.13"
keywords = ["audiobook", "epub", "pdf", "text-to-speech", "subtitle", "tts", "kokoro", "accessibility", "book-converter", "voice-synthesis", "multilingual", "chapter-management", "subtitles", "content-creation", "media-generation"]
dependencies = [
"kokoro>=0.9.4",
"misaki[zh]>=0.9.4",
"supertonic>=0.1.0",
"ebooklib>=0.19",
"beautifulsoup4>=4.13.4",
"spacy>=3.5,<4.0",
"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",
"PyMuPDF>=1.25.5",
"platformdirs>=4.3.7",
"soundfile>=0.13.1",
"mutagen>=1.47.0",
"pygame>=2.6.1",
"charset_normalizer>=3.4.1",
"chardet>=5.2.0",
"python-dotenv>=1.0.1",
"static_ffmpeg>=2.13",
"Markdown>=3.9",
"Flask>=3.0.3",
"numpy>=1.24.0",
"gpustat>=1.1.1",
"num2words>=0.5.13",
"httpx>=0.27.0"
]
classifiers = [
"Intended Audience :: End Users/Desktop",
"Topic :: Multimedia :: Sound/Audio :: Conversion",
"Topic :: Multimedia :: Sound/Audio :: Sound Synthesis",
"Topic :: Multimedia :: Sound/Audio :: Speech",
"Topic :: Text Processing",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent"
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/denizsafak/abogen"
Documentation = "https://github.com/denizsafak/abogen"
Repository = "https://github.com/denizsafak/abogen"
Issues = "https://github.com/denizsafak/abogen/issues"
[tool.hatch.metadata]
allow-direct-references = true
[project.gui-scripts]
abogen = "abogen.web.app:main"
[project.scripts]
abogen-cli = "abogen.web.app:main"
abogen-web = "abogen.web.app:main"
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/demo",
"/abogen/resources",
"/abogen/assets/create_shortcuts.bat",
"WINDOWS_INSTALL.bat",
]
[tool.hatch.build.targets.wheel]
packages = ["abogen"]
[tool.hatch.build]
include = [
"abogen/web/templates/**",
"abogen/web/static/**",
]
[tool.hatch.version]
path = "abogen/VERSION"
pattern = "^(?P<version>.+)$"