From 3c6b5d2b37c949bffce3923d28e98dc1938f77d2 Mon Sep 17 00:00:00 2001 From: Michael Pham <61564344+Mikefly123@users.noreply.github.com> Date: Sat, 3 May 2025 16:04:23 -0700 Subject: [PATCH 1/6] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index bdf970c..d44c930 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "proves-circuitpython-sx1280" -version = "2.0.0" +version = "1.0.2" description = "CircuitPython driver for the Semtech SX1280 LoRa radio transceiver." readme = "README.md" requires-python = ">=3.13" From f838f211f07ebef182368e53daeb6ac2abac2fbf Mon Sep 17 00:00:00 2001 From: Michael Pham <61564344+Mikefly123@users.noreply.github.com> Date: Sat, 3 May 2025 16:05:30 -0700 Subject: [PATCH 2/6] Tried Moving the SX1280 to Root --- proves_sx1280/sx1280.py => sx1280.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename proves_sx1280/sx1280.py => sx1280.py (100%) diff --git a/proves_sx1280/sx1280.py b/sx1280.py similarity index 100% rename from proves_sx1280/sx1280.py rename to sx1280.py From 26969026e18df306180245d589d65649770ca57a Mon Sep 17 00:00:00 2001 From: Michael Pham <61564344+Mikefly123@users.noreply.github.com> Date: Sat, 3 May 2025 16:29:21 -0700 Subject: [PATCH 3/6] Trying Something Else --- pyproject.toml | 2 +- sx1280.py => sx1280/sx1280.py | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename sx1280.py => sx1280/sx1280.py (100%) diff --git a/pyproject.toml b/pyproject.toml index d44c930..8d91fda 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ dependencies = [ line-ending = "lf" [tool.pyright] -include = ["sx1280.py"] +include = ["sx1280/sx1280.py"] exclude = [ "**/__pycache__", ".venv", diff --git a/sx1280.py b/sx1280/sx1280.py similarity index 100% rename from sx1280.py rename to sx1280/sx1280.py From 51a3d3931f4fed71c09a896e293f3d56f2a43331 Mon Sep 17 00:00:00 2001 From: Michael Pham <61564344+Mikefly123@users.noreply.github.com> Date: Sat, 3 May 2025 16:32:50 -0700 Subject: [PATCH 4/6] Taking Perplexity Rec --- pyproject.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8d91fda..8bb53f2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,8 +15,12 @@ dependencies = [ # Use `\n` line endings for all files line-ending = "lf" +[tool.setuptools.packages.find] +exclude = ["typings*"] +include = ["proves_sx1280*"] + [tool.pyright] -include = ["sx1280/sx1280.py"] +include = ["sx1280.py"] exclude = [ "**/__pycache__", ".venv", From 3f6dd4f8dc04503f2bba40e1a41536875f9b4991 Mon Sep 17 00:00:00 2001 From: Michael Pham <61564344+Mikefly123@users.noreply.github.com> Date: Sat, 3 May 2025 16:47:00 -0700 Subject: [PATCH 5/6] Moved Files --- {sx1280 => proves_sx1280}/sx1280.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {sx1280 => proves_sx1280}/sx1280.py (100%) diff --git a/sx1280/sx1280.py b/proves_sx1280/sx1280.py similarity index 100% rename from sx1280/sx1280.py rename to proves_sx1280/sx1280.py From 247937025f814181a7b7c933e78c1811c40baa49 Mon Sep 17 00:00:00 2001 From: Michael Pham <61564344+Mikefly123@users.noreply.github.com> Date: Sun, 4 May 2025 09:16:04 -0700 Subject: [PATCH 6/6] Appease the Linter --- examples/example.py | 1 - examples/example_ranging_master.py | 1 - examples/example_ranging_slave.py | 1 - examples/example_rx.py | 1 - examples/example_tx.py | 1 - 5 files changed, 5 deletions(-) diff --git a/examples/example.py b/examples/example.py index b02e995..6776ca3 100644 --- a/examples/example.py +++ b/examples/example.py @@ -1,7 +1,6 @@ import board import busio import digitalio - import sx1280 CS = digitalio.DigitalInOut(board.D35) diff --git a/examples/example_ranging_master.py b/examples/example_ranging_master.py index 94e3e73..82e2920 100644 --- a/examples/example_ranging_master.py +++ b/examples/example_ranging_master.py @@ -3,7 +3,6 @@ import board import busio import digitalio - import sx1280 CS = digitalio.DigitalInOut(board.D35) diff --git a/examples/example_ranging_slave.py b/examples/example_ranging_slave.py index 944c2df..1fca118 100644 --- a/examples/example_ranging_slave.py +++ b/examples/example_ranging_slave.py @@ -3,7 +3,6 @@ import board import busio import digitalio - import sx1280 CS = digitalio.DigitalInOut(board.D35) diff --git a/examples/example_rx.py b/examples/example_rx.py index ddd0dba..455b2c7 100644 --- a/examples/example_rx.py +++ b/examples/example_rx.py @@ -7,7 +7,6 @@ import board import busio import digitalio - import sx1280 CS = digitalio.DigitalInOut(board.D35) diff --git a/examples/example_tx.py b/examples/example_tx.py index 5da5775..940f8a5 100644 --- a/examples/example_tx.py +++ b/examples/example_tx.py @@ -7,7 +7,6 @@ import board import busio import digitalio - import sx1280 CS = digitalio.DigitalInOut(board.D35)