mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-03-12 21:23:05 -07:00
feat: auto-derive version from git tags using setuptools-scm
Replace hardcoded version with setuptools-scm so the version updates automatically from git tags. The ASCII banner strips the dirty date suffix but preserves the git node hash. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=69"]
|
||||
requires = ["setuptools>=69", "setuptools-scm>=8"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "hate_crack"
|
||||
version = "2.0"
|
||||
dynamic = ["version"]
|
||||
description = "Menu driven Python wrapper for hashcat"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.13"
|
||||
@@ -37,6 +37,9 @@ hate_crack = [
|
||||
"princeprocessor/**",
|
||||
]
|
||||
|
||||
[tool.setuptools_scm]
|
||||
version_file = "hate_crack/_version.py"
|
||||
|
||||
[tool.ruff]
|
||||
exclude = [
|
||||
"build",
|
||||
|
||||
Reference in New Issue
Block a user