-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
109 lines (101 loc) · 2.56 KB
/
pyproject.toml
File metadata and controls
109 lines (101 loc) · 2.56 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[project]
# Project metadata. Available keys are documented at:
# https://packaging.python.org/en/latest/specifications/declaring-project-metadata
name = "mseb"
description = ""
readme = "README.md"
requires-python = ">=3.8"
license = {file = "LICENSE"}
authors = [{name = "mseb authors", email="mseb@google.com"}]
classifiers = [ # List of https://pypi.org/classifiers/
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Science/Research",
]
keywords = []
# pip dependencies of the project
# Installed locally with `pip install -e .`
dependencies = [
"accelerate",
"array-record",
"absl-py",
"apache-beam",
"datasets==4.0.0",
"editdistance",
"etils",
"fvcore",
"google-genai",
"huggingface_hub",
"jax",
"jaxtyping",
"jiwer>=2.0,<3.0",
"librosa",
"litellm",
"numba",
"numpy",
"openai",
"pandas",
"protobuf",
"pyarrow",
"pygtrie",
"scikit-learn",
"soundfile",
"tqdm",
"transformers",
"tensorflow",
"tensorflow-datasets==4.9.9",
"torch",
"whisper",
]
# `version` is automatically set by flit to use `mseb.__version__`
dynamic = ["version"]
[project.urls]
homepage = "https://github.com/google-research/mseb"
repository = "https://github.com/google-research/mseb"
changelog = "https://github.com/google-research/mseb/blob/main/CHANGELOG.md"
# documentation = ""
[project.optional-dependencies]
# Development deps (unittest, linting, formating,...)
# Installed through `pip install -e .[dev]`
dev = [
"pytest",
"pytest-xdist",
"pylint>=2.6.0",
"pyink",
]
whisper = [
"openai-whisper",
]
scann = [
"scann==1.3.5",
]
spacy = [
"spacy",
]
tf_hub = [
"tensorflow-hub",
]
[tool.pyink]
# Formatting configuration to follow Google style-guide
line-length = 80
unstable = true
pyink-indentation = 2
pyink-use-majority-quotes = true
[build-system]
# Build system specify which backend is used to build/install the project (flit,
# poetry, setuptools,...). All backends are supported by `pip install`
requires = ["flit_core >=3.8,<4"]
build-backend = "flit_core.buildapi"
[tool.flit.sdist]
# Flit specific options (files to exclude from the PyPI package).
# If using another build backend (setuptools, poetry), you can remove this
# section.
exclude = [
# Do not release tests files on PyPI
"**/*_test.py",
]
[tool.pytest.ini_options]
markers = [
"optional: marks tests that require optional dependencies",
"whisper: marks tests for the whisper optional dependency",
"scann: marks tests for the scann optional dependency"
]