Skip to content

Commit

Permalink
install/server: remove psutil
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Dec 28, 2024
1 parent 4206ee4 commit 381c6de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion install/local/install-scrypted-dependencies-mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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..."

Expand Down
1 change: 0 additions & 1 deletion server/bin/packaged-python.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 381c6de

Please sign in to comment.