forked from meta-pytorch/torchcodec
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (42 loc) · 1.1 KB
/
pyproject.toml
File metadata and controls
53 lines (42 loc) · 1.1 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
[project]
name = "torchcodec"
description = "A video decoder for PyTorch"
readme = "README.md"
requires-python = ">=3.8"
license-files = ["LICENSE"]
authors = [
{ name = "PyTorch Team", email = "packages@pytorch.org" },
]
dynamic = ["version"]
[project.urls]
GitHub = "https://github.com/pytorch/torchcodec"
Documentation = "https://pytorch.org/torchcodec/stable/index.html"
[tool.setuptools.dynamic]
version = {file = "version.txt"}
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project.optional-dependencies]
dev = [
"numpy",
"pytest",
"pillow",
]
[tool.usort]
# Needed for compatibility with internal linter
first_party_detection = false
[tool.black]
target-version = ["py38"]
[tool.ufmt]
excludes = [
"examples",
]
[tool.pytest.ini_options]
markers = [
# defines a 'slow' mark to mark slow tests with `@pytest.mark.slow`
"slow: mark test as slow"
]
# We don't want to run the slow tests by default. These options are ignored in
# the CI, where we definitely want the 'slow' tests to run.
addopts = "-v -m 'not slow'"
testpaths = ["test"]