-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
49 lines (39 loc) · 949 Bytes
/
Copy pathpyproject.toml
File metadata and controls
49 lines (39 loc) · 949 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "anchor-sub-sync"
version = "1.16.1"
description = "GPU-accelerated AI Subtitle Sync"
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"rich",
"torch",
"numpy",
"whisperx",
"pysubs2",
"py-cpuinfo",
"ctranslate2>=4.6.0",
"langdetect",
"transformers",
"huggingface_hub",
"requests",
"fastapi",
"uvicorn",
"pydantic"
]
[project.scripts]
anchor = "anchor.cli:main"
[tool.setuptools.packages.find]
where = ["."]
[tool.semantic_release]
version_variables = ["anchor/__init__.py:__version__"]
version_toml = ["pyproject.toml:project.version"]
build_command = "pip install build && python -m build"
[tool.semantic_release.branches.main]
match = "main"
prerelease = false
[tool.semantic_release.publish]
dist_glob_patterns = ["dist/*"]
upload_to_vcs_release = true