-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (71 loc) · 1.65 KB
/
pyproject.toml
File metadata and controls
79 lines (71 loc) · 1.65 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[build-system]
requires = ["setuptools>=64"]
build-backend = "setuptools.build_meta"
[project]
name = "sign-language-segmentation"
description = "Sign language pose segmentation model on both the sentence and sign level"
version = "0.0.1"
authors = [
{ name = "Amit Moryossef", email = "amitmoryossef@gmail.com" },
{ name = "Zifan Jiang", email = "jiang@cl.uzh.ch" },
{ name = "Ziv Lazarov", email = "ziv.lazarov@nagish.com" }
]
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"pose-format>=0.8.1",
"numpy",
"pympi-ling",
"torch",
"pose-anonymization",
"scikit-learn",
"pytorch-lightning",
"safetensors",
]
[project.optional-dependencies]
dgs = [
"lxml",
]
train = [
"sign-language-segmentation[dgs]",
"wandb",
"optuna",
"optuna-integration[pytorch_lightning]",
"pyyaml",
]
dev = [
"pytest",
"ruff",
]
server = [
"Flask",
"Werkzeug",
"gunicorn",
"Flask-Cors",
"Flask-Compress",
"Flask-Caching",
]
hf = [
"huggingface_hub>=0.20.0",
]
publish = [
"sign-language-segmentation[hf]",
"sign-language-segmentation[train]",
]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
ignore = [
"E501", # line too long (handled by line-length)
"F401", # unused imports in __init__.py re-exports
]
[tool.setuptools.packages.find]
where = ["."]
include = ["sign_language_segmentation*"]
[tool.setuptools.package-data]
sign_language_segmentation = ["**/*.json", "**/*.safetensors", "**/*.yaml", "**/*.md"]
[tool.pytest.ini_options]
addopts = "-v"
testpaths = ["sign_language_segmentation"]
[project.scripts]
pose_to_segments = "sign_language_segmentation.bin:main"