content: [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"]
  