-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
122 lines (108 loc) · 2.81 KB
/
pyproject.toml
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
110
111
112
113
114
115
116
117
118
119
120
121
122
[project]
name = "vdtk"
description = "Visual Description Evaluation Toolkit"
dynamic = ["version", "readme"]
license = {text = "MIT"}
authors = [
{ name = "David Chan", email = "davidchan@berkeley.edu" }
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Image Recognition",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Scientific/Engineering :: Information Analysis"
]
dependencies = [
"nltk >= 3.6.5",
"numpy >= 1.21.4",
"matplotlib >= 3.5.0",
"tqdm >= 4.62.3",
"spacy >= 3.2.0",
"fuzzywuzzy >= 0.18.0",
"rich >= 10.14.0",
"mpire >= 2.3.1",
"click >= 8.0.3",
"fuzzysearch >= 0.7.3",
"sentence-transformers >= 2.1.0",
"bert-score >= 0.3.12",
"embeddings >= 0.0.8",
"POT >= 0.8",
"rouge-score >= 0.1.2",
"jdk4py >= 17.0.3.0",
"mauve-text >= 0.3.0",
"ftfy >= 6.1.1",
"regex >= 2022.10.31",
]
[project.optional-dependencies]
dev = ["pytest", "mypy", "black", "flake8", "flake8-black", "isort", "pytest-xdist"]
all = [
"pytest",
"mypy",
"black",
"flake8",
"flake8-black",
"isort",
"tensorflow >= 2.11.0",
"tf-slim >= 1.1.0",
"sentencepiece >= 0.1.97",
"pandas >= 1.5.1",
"scipy >= 1.9.3",
]
[project.scripts]
vdtk = "vdtk.cli:cli"
[tool.setuptools.dynamic]
version = {attr = "vdtk.__version__"}
readme = {file = ["README.md", "LICENSE"], content-type = "text/markdown"}
[tool.setuptools.packages]
find = {}
[tool.setuptools.package-data]
vdtk = ["*.gz"] # For CLIP vocab files
[tool.setuptools]
include-package-data = true
license-files = ["*LICEN[CS]E*", "*COPYING*", "*NOTICE*", "*AUTHORS*"]
[tool.mypy]
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
disallow_untyped_calls = true
no_implicit_optional = true
ignore_missing_imports = true
[tool.black]
line-length = 120
target_version =['py38']
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)
)
'''
[tool.isort]
sections="FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra"
testpaths = [
"vdtk-test",
]