Add hash-suffixed versioning and git-based reinstall command

This commit is contained in:
Adam Ladachowski
2026-02-18 17:33:31 +01:00
parent 2364580742
commit 65cbd372f5
4 changed files with 160 additions and 41 deletions
+5 -2
View File
@@ -1,9 +1,9 @@
[project]
name = "tensors"
version = "0.1.18"
dynamic = ["version"]
description = "Read safetensor metadata and fetch CivitAI model information"
readme = "README.md"
requires-python = ">=3.14"
requires-python = ">=3.12"
dependencies = [
"safetensors>=0.4.0",
"httpx>=0.27.0",
@@ -24,6 +24,9 @@ tsr = "tensors:main"
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "tensors/__init__.py"
[tool.hatch.build.targets.wheel]
packages = ["tensors"]