File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 30
30
import sys
31
31
32
32
import pytorch_sphinx_theme
33
+ import torchcodec
33
34
34
35
sys .path .append (os .path .abspath ("." ))
35
36
97
98
#
98
99
source_suffix = [".rst" ]
99
100
100
- # TODO_BEFORE_RELEASE: Indicate version number here
101
- html_title = "TorchCodec Documentation"
101
+ html_title = f"TorchCodec { torchcodec .__version__ } Documentation"
102
102
103
103
# The master toctree document.
104
104
master_doc = "index"
Original file line number Diff line number Diff line change 1
1
[project ]
2
2
name = " TorchCodec"
3
- version = " 0.0.1.dev"
4
3
description = " A video decoder for PyTorch"
5
4
readme = " README.md"
6
5
requires-python = " >=3.8"
7
6
license = {file = " LICENSE" }
8
7
authors = [
9
8
{
name =
" PyTorch Team" ,
email =
" [email protected] " },
10
9
]
10
+ dynamic = [" version" ]
11
11
12
12
[project .urls ]
13
13
GitHub = " https://github.com/pytorch/torchcodec"
14
14
Documentation = " https://pytorch.org/torchcodec/stable/index.html"
15
15
16
+ [tool .setuptools .dynamic ]
17
+ version = {attr = " torchcodec.__version__" }
18
+
16
19
[build-system ]
17
20
requires = [" setuptools>=61.0" ]
18
21
build-backend = " setuptools.build_meta"
Original file line number Diff line number Diff line change 5
5
# LICENSE file in the root directory of this source tree.
6
6
7
7
from . import decoders # noqa
8
+
9
+ __version__ = "0.0.1.dev"
You can’t perform that action at this time.
0 commit comments