From a765fea8ca2d012f55176ce6df95c1b330cee30e Mon Sep 17 00:00:00 2001 From: kruger <kruger@astron.nl> Date: Tue, 4 Apr 2023 10:32:58 +0200 Subject: [PATCH] python3.11 update --- README.md | 4 ++++ pypcc/config/RECVTR_HB.yaml | 2 +- requirements.txt | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f08c937..6f2b27c 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,10 @@ deactivate # And finally install the module dependencies python3 -m pip install -r requirements.txt ``` +Notes for using python3.11: +- install crypto 3.3 for asyncua +- add #define PY_SSIZE_T_CLEAN before #include <Python.h> in pyi2c.c in libi2c. + # Install it The software is installed by executing: `python3 setup.py install` diff --git a/pypcc/config/RECVTR_HB.yaml b/pypcc/config/RECVTR_HB.yaml index 7863679..4ebc0e8 100644 --- a/pypcc/config/RECVTR_HB.yaml +++ b/pypcc/config/RECVTR_HB.yaml @@ -800,7 +800,7 @@ methods: # - RCU_DTH_freq: Update # - RCU_DTH_on: Update #disabled for testing # - RCU_hband_select: Update - - RCU_DAB_select: Update + - RCU_DAB_filter_on: Update - RCU_firmware_version: Update - RCU_IO1_GPIO1: Update #needed for debug/testing - RCU_IO1_GPIO2: Update diff --git a/requirements.txt b/requirements.txt index eb9df2a..7d582b2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,3 +4,4 @@ numpy recordclass pyyaml python-logstash-async +RPi.GPIO \ No newline at end of file -- GitLab