VCS versioning. Made dev a group, not extra.

This commit is contained in:
2026-08-11 23:37:55 +00:00
parent 49cca4b0c1
commit e0c98bfd9e
+7 -2
View File
@@ -1,10 +1,10 @@
[build-system]
requires = ["hatchling"]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "mediapreview"
version = "0.1.0"
dynamic = ["version"]
description = "Low-level media preview converters and a worker pool framework"
readme = "README.md"
requires-python = ">=3.11"
@@ -39,6 +39,8 @@ standard = [
"mediapreview[video]",
"mediapreview[office]",
]
[dependency-groups]
dev = [
"pytest>=8.4.1",
"pytest-asyncio>=0.25.0",
@@ -47,6 +49,9 @@ dev = [
"mypy>=1.13.0",
]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.targets.wheel]
packages = ["mediapreview"]