Skip to content

Commit

Permalink
install: fixup missing debugpy
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Dec 28, 2024
1 parent 194facb commit 0cf4802
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions install/docker/Dockerfile.full
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ RUN rm -f /usr/lib/python**/EXTERNALLY-MANAGED

# ERROR: Cannot uninstall pip 24.0, RECORD file not found. Hint: The package was installed by debian.
# RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install debugpy typing_extensions psutil
RUN python3 -m pip install debugpy

################################################################
# End section generated from template/Dockerfile.full.header
Expand Down Expand Up @@ -87,7 +87,7 @@ RUN add-apt-repository -y ppa:deadsnakes/ppa && \
RUN rm -f /usr/lib/python**/EXTERNALLY-MANAGED

# RUN python3.9 -m pip install --upgrade pip
RUN python3.9 -m pip install debugpy typing_extensions psutil
RUN python3.9 -m pip install debugpy

# Coral Edge TPU
# https://coral.ai/docs/accelerator/get-started/#runtime-on-linux
Expand Down
2 changes: 1 addition & 1 deletion install/docker/template/Dockerfile.full.footer
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN add-apt-repository -y ppa:deadsnakes/ppa && \
RUN rm -f /usr/lib/python**/EXTERNALLY-MANAGED

# RUN python3.9 -m pip install --upgrade pip
RUN python3.9 -m pip install debugpy typing_extensions psutil
RUN python3.9 -m pip install debugpy

# Coral Edge TPU
# https://coral.ai/docs/accelerator/get-started/#runtime-on-linux
Expand Down
2 changes: 1 addition & 1 deletion install/docker/template/Dockerfile.full.header
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ RUN rm -f /usr/lib/python**/EXTERNALLY-MANAGED

# ERROR: Cannot uninstall pip 24.0, RECORD file not found. Hint: The package was installed by debian.
# RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install debugpy typing_extensions psutil
RUN python3 -m pip install debugpy

################################################################
# End section generated from template/Dockerfile.full.header
Expand Down
2 changes: 1 addition & 1 deletion install/local/install-scrypted-dependencies-mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ 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.
# portable python includes typing and does not need typing_extensions.
# opencv-python-headless has wheels for macos.
if [ "$PYTHON_VERSION" != "3.10" ]
then
Expand Down
3 changes: 3 additions & 0 deletions install/local/install-scrypted-dependencies-win.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";"
npm i -g npm

py $SCRYPTED_WINDOWS_PYTHON_VERSION -m pip install --upgrade pip
# besides debugpy, none of these dependencies are needed anymore?
# portable python includes typing and does not need typing_extensions.
# opencv-python-headless has wheels for windows.
py $SCRYPTED_WINDOWS_PYTHON_VERSION -m pip install debugpy typing_extensions typing opencv-python

$SCRYPTED_INSTALL_VERSION=[System.Environment]::GetEnvironmentVariable("SCRYPTED_INSTALL_VERSION","User")
Expand Down

0 comments on commit 0cf4802

Please sign in to comment.