fix: resolve OMEN binary path from repo root as fallback

In dev checkouts where submodules are built in the repo root rather than
vendored into hate_path, OMEN binaries were not found. Introduces _omen_dir
that checks hate_path/omen first and falls back to the repo root omen dir.
Also removes vendor-assets from install/update targets and drops vendored
submodule paths from pyproject.toml package data.
This commit is contained in:
Justin Bollinger
2026-03-10 12:28:14 -04:00
parent 5b0c119ec0
commit 0f141892b7
4 changed files with 29 additions and 18 deletions

View File

@@ -32,9 +32,6 @@ include = ["hate_crack*"]
[tool.setuptools.package-data]
hate_crack = [
"config.json.example",
"hashcat-utils/**",
"princeprocessor/**",
"omen/**",
]
[tool.setuptools_scm]
@@ -61,9 +58,8 @@ exclude = [
"wordlists/",
"HashcatRosetta/",
"hashcat-utils/",
"hate_crack/hashcat-utils/",
"hate_crack/omen/",
"hate_crack/princeprocessor/",
"omen/",
"princeprocessor/",
]
[tool.ty.rules]