From 7ab8d86396cf84cfeedae086f261b9596691d748 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Sun, 08 Feb 2026 01:15:14 +0000
Subject: [PATCH] Try to allow vcs rebuilds
---
scripts/build_binary.py | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/scripts/build_binary.py b/scripts/build_binary.py
index c5eccf7..567992b 100644
--- a/scripts/build_binary.py
+++ b/scripts/build_binary.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
"""
-Script to build a standalone executable for archbuild using PyInstaller.
+Script to build a standalone executable for archrepobuild using PyInstaller.
"""
import subprocess
@@ -24,8 +24,8 @@
src = root / "src"
# Create a temporary entry script
- entry_script = root / "archbuild_entry.py"
- entry_script.write_text("from archbuild.cli import main\nif __name__ == '__main__':\n main()\n")
+ entry_script = root / "archrepobuild_entry.py"
+ entry_script.write_text("from archrepobuild.cli import main\nif __name__ == '__main__':\n main()\n")
# PyInstaller command
pyinstaller_exe = shutil.which("pyinstaller")
@@ -36,10 +36,10 @@
cmd += [
"--onefile",
- "--name", "archbuild-bin",
+ "--name", "archrepobuild",
"--paths", str(src),
"--clean",
- "--collect-all", "archbuild",
+ "--collect-all", "archrepobuild",
"--collect-all", "rich",
str(entry_script)
]
@@ -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)
--
Gitblit v1.10.0