install/server: remove psutil

This commit is contained in:
Koushik Dutta
2024-12-28 13:08:22 -08:00
parent 4206ee4686
commit 381c6de336
2 changed files with 4 additions and 2 deletions

View File

@@ -69,11 +69,14 @@ then
fi
RUN python$PYTHON_VERSION -m pip install --upgrade pip
# besides debugpy, none of these dependencies are needed anymore?
# newer macos installs python3.9 which includings typing and does not need typing_extensions.
# opencv-python-headless has wheels for macos.
if [ "$PYTHON_VERSION" != "3.10" ]
then
RUN python$PYTHON_VERSION -m pip install typing
fi
RUN python$PYTHON_VERSION -m pip install debugpy typing_extensions opencv-python psutil
RUN python$PYTHON_VERSION -m pip install debugpy typing_extensions opencv-python
echo "Installing Scrypted Launch Agent..."

View File

@@ -19,6 +19,5 @@ module.exports.installScryptedServerRequirements = async function installScrypte
let python = py.executablePath;
await pipInstall(python, 'debugpy');
await pipInstall(python, 'psutil').catch(() => { });
return python;
}