1
0
mirror of https://github.com/MarkParker5/STARK.git synced 2024-11-24 08:12:13 +02:00
STARK/pyproject.toml
2023-09-15 15:30:16 +02:00

54 lines
1.4 KiB
TOML

[tool.poetry]
name = "stark"
version = "0.1.0"
description = ""
authors = ["MarkParker5 <markparker.it@gmail.com>"]
license = "CC BY-NC-ND 4.0"
readme = "README.md"
packages = [{include = "stark"}]
[tool.poetry.dependencies]
python = "^3.10"
pydantic = "^1.10.4"
asyncer = "^0.0.2"
# Optional dependencies
numpy = { version = "^1.24.1", optional = true }
sounddevice = { version = "^0.4.5", optional = true }
soundfile = { version = "^0.11.0", optional = true }
vosk = { version = "0.3.44", optional = true }
google-cloud-texttospeech = { version = "^2.14.1", optional = true }
torch = { version = "^1.13.1", optional = true }
[tool.poetry.extras]
gcloud = ["google-cloud-texttospeech", "sounddevice", "soundfile"]
vosk = ["vosk", "sounddevice"]
silero = ["torch", "numpy", "sounddevice"]
sound = ["sounddevice", "soundfile"]
[tool.poetry.group.dev.dependencies]
# tests and static validation
pytest = "^7.2.1"
mypy = "^1.1.1"
# docs generation
mkdocs-material = { version = "^9.2.8", optional = true }
mkdocs-git-revision-date-localized-plugin = { version = "^1.2.0", optional = true }
mkdocs-swagger-ui-tag = { version = "^0.6.4", optional = true }
pytest-anyio = "^0.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
pythonpath = [
"stark",
]
[tool.mypy]
ignore_missing_imports = true
exclude = [
"stark/core/types/Time.*",
"stark/core/types/Number.*",
]