Compare commits

...

3 Commits

Author SHA1 Message Date
Clifford
372bab8847 feat(gcode_shell_command): allowing for expanding env vars (#747)
allowing for expanding env vars
2025-11-23 12:53:52 +01:00
Charlie Lima
d5062d41de refactor: remove dependency on libatlas-base-dev (#744)
Remove dependency on libatlas-base-dev

Co-authored-by: charlie-lima-bean <ktoaster@pm.me>
2025-11-23 09:25:05 +01:00
dw-0
e9459bd68e fix(backup): correct backup folder path display in menu 2025-11-09 11:58:03 +01:00
3 changed files with 2 additions and 3 deletions

View File

@@ -237,7 +237,6 @@ def install_input_shaper_deps() -> None:
"If you agree, the following additional system packages will be installed:", "If you agree, the following additional system packages will be installed:",
"● python3-numpy", "● python3-numpy",
"● python3-matplotlib", "● python3-matplotlib",
"● libatlas-base-dev",
"● libopenblas-dev", "● libopenblas-dev",
"\n\n", "\n\n",
"Also, the following Python package will be installed:", "Also, the following Python package will be installed:",
@@ -253,7 +252,6 @@ def install_input_shaper_deps() -> None:
apt_deps = ( apt_deps = (
"python3-numpy", "python3-numpy",
"python3-matplotlib", "python3-matplotlib",
"libatlas-base-dev",
"libopenblas-dev", "libopenblas-dev",
) )
check_install_dependencies({*apt_deps}) check_install_dependencies({*apt_deps})

View File

@@ -58,7 +58,7 @@ class BackupMenu(BaseMenu):
def print_menu(self) -> None: def print_menu(self) -> None:
line1 = Color.apply( line1 = Color.apply(
"INFO: Backups are located in '~/kiauh-backups'", Color.YELLOW "INFO: Backups are located in '~/kiauh_backups'", Color.YELLOW
) )
menu = textwrap.dedent( menu = textwrap.dedent(
f""" f"""

View File

@@ -16,6 +16,7 @@ class ShellCommand:
self.gcode = self.printer.lookup_object("gcode") self.gcode = self.printer.lookup_object("gcode")
cmd = config.get("command") cmd = config.get("command")
cmd = os.path.expanduser(cmd) cmd = os.path.expanduser(cmd)
cmd = os.path.expandvars(cmd)
self.command = shlex.split(cmd) self.command = shlex.split(cmd)
self.timeout = config.getfloat("timeout", 2.0, above=0.0) self.timeout = config.getfloat("timeout", 2.0, above=0.0)
self.verbose = config.getboolean("verbose", True) self.verbose = config.getboolean("verbose", True)