From 44b03c34ec8a7c4fc87e6cfc26f0305ab1133a57 Mon Sep 17 00:00:00 2001 From: reemo3dp <150130755+reemo3dp@users.noreply.github.com> Date: Sat, 2 Mar 2024 18:40:59 +0100 Subject: [PATCH] fix: klipper install now works, but tests don't --- install-led_effect.sh | 2 +- packages/led_effect/{led_effect => src}/__init__.py | 0 packages/led_effect/{led_effect => src}/layer_parser.lark | 0 packages/led_effect/{led_effect => src}/layer_parser.py | 0 packages/led_effect/{led_effect => src}/layer_parser_lark.py | 0 packages/led_effect/{led_effect => src}/led_effect.py | 0 packages/led_effect/tests/__init__.py | 0 7 files changed, 1 insertion(+), 1 deletion(-) rename packages/led_effect/{led_effect => src}/__init__.py (100%) rename packages/led_effect/{led_effect => src}/layer_parser.lark (100%) rename packages/led_effect/{led_effect => src}/layer_parser.py (100%) rename packages/led_effect/{led_effect => src}/layer_parser_lark.py (100%) rename packages/led_effect/{led_effect => src}/led_effect.py (100%) create mode 100644 packages/led_effect/tests/__init__.py diff --git a/install-led_effect.sh b/install-led_effect.sh index 710c5f3..88a3d61 100755 --- a/install-led_effect.sh +++ b/install-led_effect.sh @@ -107,7 +107,7 @@ check_folders() link_extension() { echo -n "Linking extension to Klipper... " - ln -sf "${SRCDIR}/packages/led_effect/src/led_effect/" "${KLIPPER_PATH}/klippy/extras/led_effect" + ln -sf "${SRCDIR}/packages/led_effect/src/" "${KLIPPER_PATH}/klippy/extras/led_effect" echo "[OK]" } diff --git a/packages/led_effect/led_effect/__init__.py b/packages/led_effect/src/__init__.py similarity index 100% rename from packages/led_effect/led_effect/__init__.py rename to packages/led_effect/src/__init__.py diff --git a/packages/led_effect/led_effect/layer_parser.lark b/packages/led_effect/src/layer_parser.lark similarity index 100% rename from packages/led_effect/led_effect/layer_parser.lark rename to packages/led_effect/src/layer_parser.lark diff --git a/packages/led_effect/led_effect/layer_parser.py b/packages/led_effect/src/layer_parser.py similarity index 100% rename from packages/led_effect/led_effect/layer_parser.py rename to packages/led_effect/src/layer_parser.py diff --git a/packages/led_effect/led_effect/layer_parser_lark.py b/packages/led_effect/src/layer_parser_lark.py similarity index 100% rename from packages/led_effect/led_effect/layer_parser_lark.py rename to packages/led_effect/src/layer_parser_lark.py diff --git a/packages/led_effect/led_effect/led_effect.py b/packages/led_effect/src/led_effect.py similarity index 100% rename from packages/led_effect/led_effect/led_effect.py rename to packages/led_effect/src/led_effect.py diff --git a/packages/led_effect/tests/__init__.py b/packages/led_effect/tests/__init__.py new file mode 100644 index 0000000..e69de29