Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import sys

import pytorch_sphinx_theme
import torchcodec

sys.path.append(os.path.abspath("."))

Expand Down Expand Up @@ -97,8 +98,7 @@
#
source_suffix = [".rst"]

# TODO_BEFORE_RELEASE: Indicate version number here
html_title = "TorchCodec Documentation"
html_title = f"TorchCodec {torchcodec.__version__} Documentation"

# The master toctree document.
master_doc = "index"
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
[project]
name = "TorchCodec"
version = "0.0.1.dev"
description = "A video decoder for PyTorch"
readme = "README.md"
requires-python = ">=3.8"
license = {file = "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 = {attr = "torchcodec.__version__"}

[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
Expand Down
2 changes: 2 additions & 0 deletions src/torchcodec/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
# LICENSE file in the root directory of this source tree.

from . import decoders # noqa

__version__ = "0.0.1.dev"