-
Notifications
You must be signed in to change notification settings - Fork 854
Expand file tree
/
Copy pathpyproject.toml
More file actions
105 lines (92 loc) · 2.34 KB
/
pyproject.toml
File metadata and controls
105 lines (92 loc) · 2.34 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
[build-system]
requires = ["setuptools>=42", "wheel", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[project]
name = "tensorboardX"
dynamic = ["version", "readme"]
description = "TensorBoardX lets you watch Tensors Flow without Tensorflow"
requires-python = ">=3.10"
license ="MIT"
authors = [
{name = "Tzu-Wei Huang", email = "huang.dexter@gmail.com"}
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"numpy",
"packaging",
"protobuf>=3.20",
]
[project.urls]
Homepage = "https://github.com/lanpa/tensorboardX"
Repository = "https://github.com/lanpa/tensorboardX.git"
[tool.setuptools]
include-package-data = true
packages = ["tensorboardX"]
zip-safe = false
[tool.setuptools.dynamic]
readme = {file = ["HISTORY.rst"]}
[tool.setuptools_scm]
version_file = "tensorboardX/_version.py"
[tool.uv.sources]
torch = { index = "pytorch-cpu" }
torchvision = { index = "pytorch-cpu" }
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[dependency-groups]
dev = [
"pytest-cov>=6.0.0",
"pytest>=8.3.4",
"protobuf==5.29.6",
"torch==2.10.0",
"torchvision==0.25.0",
"numpy>=2.0.2",
"tensorboard>=2.18.0",
"boto3>=1.35.81",
"matplotlib>=3.9.4",
"moto<5",
"soundfile>=0.12.1",
"onnx>=1.17.0",
"imageio>=2.29.0",
"moviepy>=2.0.0",
"ruff>=0.8.4",
"pillow==11.0.0",
"setuptools==81.0.0",
"mypy>=1.14.1",
]
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
"proto",
]
[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
# McCabe complexity (`C901`) by default.
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# flake8-simplify
"SIM",
# isort
"I",
]
ignore = ["F401", "E501", "E721", "E741"]
[tool.mypy]
ignore_missing_imports = true
exclude = [
'tensorboardX/proto/',
]
disable_error_code = ["attr-defined", "name-defined", "arg-type", "var-annotated"]