VCS versioning. Made dev a group, not extra.
This commit is contained in:
+7
-2
@@ -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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user