SHA256
fixed incorrect version of psutil and enabled system site utils
This commit is contained in:
1 parent
da2d80592c
commit
bc0324f474
2 files changed
+42
No files matched your search
@@ -129,3 +129,29 @@ index 4b5b633..f8bfba7 100755
|
||||
|
||||
echo "Dependencies installed..."
|
||||
echo "Virtual environment created at $VENV_DIR"
|
||||
diff --git a/scripts/manage_plugin_venvs.sh b/scripts/manage_plugin_venvs.sh
|
||||
index 2069e14..6c8ea9e 100755
|
||||
--- a/scripts/manage_plugin_venvs.sh
|
||||
+++ b/scripts/manage_plugin_venvs.sh
|
||||
@@ -97,7 +97,7 @@ create_plugin_venv() {
|
||||
log_info "MSYS2 detected: using --system-site-packages for pre-built package access"
|
||||
python3 -m venv --system-site-packages "$venv_path"
|
||||
else
|
||||
- python3 -m venv "$venv_path"
|
||||
+ python3 -m venv --system-site-packages "$venv_path"
|
||||
fi
|
||||
|
||||
# Upgrade pip
|
||||
diff --git a/start_openplc.sh b/start_openplc.sh
|
||||
index af80f51..2ee5449 100755
|
||||
--- a/start_openplc.sh
|
||||
+++ b/start_openplc.sh
|
||||
@@ -86,7 +86,7 @@ setup_runtime_venv() {
|
||||
log_info "Runtime virtual environment already exists."
|
||||
else
|
||||
log_info "Creating runtime virtual environment..."
|
||||
- python3 -m venv "$VENV_DIR"
|
||||
+ python3 -m venv --system-site-packages "$VENV_DIR"
|
||||
if [ $? -ne 0 ]; then
|
||||
log_error "Failed to create runtime virtual environment."
|
||||
exit 1
|
||||
@@ -0,0 +1,16 @@
|
||||
|
||||
SUMMARY = "Cross-platform lib for process and system monitoring."
|
||||
HOMEPAGE = "https://github.com/giampaolo/psutil"
|
||||
AUTHOR = "Giampaolo Rodola <g.rodola@gmail.com>"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=a9c72113a843d0d732a0ac1c200d81b1"
|
||||
|
||||
SRC_URI = "https://files.pythonhosted.org/packages/73/cb/09e5184fb5fc0358d110fc3ca7f6b1d033800734d34cac10f4136cfac10e/psutil-7.2.1.tar.gz"
|
||||
SRC_URI[md5sum] = "7d3ca5607f6810bec61293ff0845c06f"
|
||||
SRC_URI[sha256sum] = "f7583aec590485b43ca601dd9cea0dcd65bd7bb21d30ef4ddbf4ea6b5ed1bdd3"
|
||||
|
||||
S = "${UNPACKDIR}/psutil-7.2.1"
|
||||
|
||||
RDEPENDS_${PN} = ""
|
||||
|
||||
inherit setuptools3
|
||||
Reference in new issue
Block a user