add ptpython to dependencies

This commit is contained in:
Brett Jia
2024-03-05 13:26:30 -05:00
parent abf327ed00
commit 1b476e665b
6 changed files with 8 additions and 8 deletions

View File

@@ -61,7 +61,7 @@ RUN apt-get -y install \
RUN rm -f /usr/lib/python**/EXTERNALLY-MANAGED
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install debugpy typing_extensions psutil
RUN python3 -m pip install debugpy typing_extensions psutil ptpython
################################################################
# End section generated from template/Dockerfile.full.header
@@ -86,7 +86,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 typing_extensions psutil ptpython
# Coral Edge TPU
# https://coral.ai/docs/accelerator/get-started/#runtime-on-linux

View File

@@ -28,7 +28,7 @@ RUN apt-get -y install \
# python pip
RUN rm -f /usr/lib/python**/EXTERNALLY-MANAGED
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install debugpy typing_extensions psutil
RUN python3 -m pip install debugpy typing_extensions psutil ptpython
ENV SCRYPTED_INSTALL_ENVIRONMENT="docker"
ENV SCRYPTED_CAN_RESTART="true"

View File

@@ -18,7 +18,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 typing_extensions psutil ptpython
# Coral Edge TPU
# https://coral.ai/docs/accelerator/get-started/#runtime-on-linux

View File

@@ -58,7 +58,7 @@ RUN apt-get -y install \
RUN rm -f /usr/lib/python**/EXTERNALLY-MANAGED
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install debugpy typing_extensions psutil
RUN python3 -m pip install debugpy typing_extensions psutil ptpython
################################################################
# End section generated from template/Dockerfile.full.header

View File

@@ -75,7 +75,7 @@ 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 psutil ptpython
echo "Installing Scrypted Launch Agent..."

View File

@@ -16,11 +16,11 @@ choco upgrade -y python39
$SCRYPTED_WINDOWS_PYTHON_VERSION="-3.9"
# Refresh environment variables for py and npx to work
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
py $SCRYPTED_WINDOWS_PYTHON_VERSION -m pip install --upgrade pip
py $SCRYPTED_WINDOWS_PYTHON_VERSION -m pip install debugpy typing_extensions typing opencv-python
py $SCRYPTED_WINDOWS_PYTHON_VERSION -m pip install debugpy typing_extensions typing opencv-python ptpython
npx -y scrypted@latest install-server