From 322e9ddcf363622ad36ad969b602b5d432239c0f Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Sun, 08 Feb 2026 00:08:42 +0000
Subject: [PATCH] Rename final binary not to conflict with existing archbuild
---
scripts/build_binary.py | 4 ++--
tests/integration_test.py | 2 +-
pyproject.toml | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index bd3ddb9..c92fcfc 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -41,7 +41,7 @@
]
[project.scripts]
-archbuild = "archbuild.cli:main"
+archrepobuild = "archbuild.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["src/archbuild"]
diff --git a/scripts/build_binary.py b/scripts/build_binary.py
index c5eccf7..f075635 100644
--- a/scripts/build_binary.py
+++ b/scripts/build_binary.py
@@ -36,7 +36,7 @@
cmd += [
"--onefile",
- "--name", "archbuild-bin",
+ "--name", "archrepobuild",
"--paths", str(src),
"--clean",
"--collect-all", "archbuild",
@@ -48,7 +48,7 @@
try:
result = subprocess.run(cmd, cwd=root)
if result.returncode == 0:
- print("\nSuccessfully built executable: dist/archbuild-bin")
+ print("\nSuccessfully built executable: dist/archrepobuild")
else:
print("\nBuild failed!")
sys.exit(result.returncode)
diff --git a/tests/integration_test.py b/tests/integration_test.py
index 31e2ca0..b5f98cd 100644
--- a/tests/integration_test.py
+++ b/tests/integration_test.py
@@ -65,7 +65,7 @@
env = os.environ.copy()
if self.use_binary:
- binary_path = Path(__file__).parent.parent / "dist" / "archbuild-bin"
+ binary_path = Path(__file__).parent.parent / "dist" / "archrepobuild"
if not binary_path.exists():
raise RuntimeError(f"Binary not found at {binary_path}. Run scripts/build_binary.py first.")
--
Gitblit v1.10.0