From 9636edbc27c48e35e7ade754a9f5bc77f37f4b19 Mon Sep 17 00:00:00 2001 From: Gustavo de Souza dos Reis Date: Wed, 19 Jun 2024 13:12:53 -0300 Subject: [PATCH] base: add pyDevSup module. --- CHANGES.md | 2 ++ base/.env | 1 + base/Dockerfile | 5 +++++ base/docker-compose.yml | 1 + base/install_pydevsup.sh | 11 +++++++++++ 5 files changed, 20 insertions(+) create mode 100755 base/install_pydevsup.sh diff --git a/CHANGES.md b/CHANGES.md index 77ec6c4..f464da8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -16,6 +16,8 @@ A new container image, `ghcr.io/cnpem/opcua-epics-ioc`, is now available. https://github.com/cnpem/epics-in-docker/pull/62 * base: add IPMIComm module. by @gustavosr8 in https://github.com/cnpem/epics-in-docker/pull/62 +* base: add pyDevSup module. by @gustavosr8 in + https://github.com/cnpem/epics-in-docker/pull/62 ## v0.7.0 diff --git a/base/.env b/base/.env index 71b51f8..eda31a1 100644 --- a/base/.env +++ b/base/.env @@ -18,6 +18,7 @@ RETOOLS_VERSION=b7abe82533cdbd7ddbc2dc845c95a2c51b7f2db9 ETHER_IP_VERSION=ether_ip-3-3 IOCSTATS_VERSION=3.2.0 IPMICOMM_VERSION=R4.6.0 +PYDEVSUP_VERSION=1.2 AREA_DETECTOR_VERSION=R3-12-1 NDSSCPIMEGA_VERSION=1.0.0 diff --git a/base/Dockerfile b/base/Dockerfile index 9bee677..91d38df 100644 --- a/base/Dockerfile +++ b/base/Dockerfile @@ -76,6 +76,11 @@ ARG PMAC_VERSION COPY install_motor.sh . RUN ./install_motor.sh +ARG PYDEVSUP_VERSION + +COPY install_pydevsup.sh . +RUN ./install_pydevsup.sh + ARG DEBIAN_VERSION ARG OPCUA_VERSION diff --git a/base/docker-compose.yml b/base/docker-compose.yml index 871e262..b7f258a 100644 --- a/base/docker-compose.yml +++ b/base/docker-compose.yml @@ -27,6 +27,7 @@ services: ETHER_IP_VERSION: ${ETHER_IP_VERSION} IOCSTATS_VERSION: ${IOCSTATS_VERSION} IPMICOMM_VERSION: ${IPMICOMM_VERSION} + PYDEVSUP_VERSION: ${PYDEVSUP_VERSION} AREA_DETECTOR_VERSION: ${AREA_DETECTOR_VERSION} NDSSCPIMEGA_VERSION: ${NDSSCPIMEGA_VERSION} LIBSSCPIMEGA_VERSION: ${LIBSSCPIMEGA_VERSION} diff --git a/base/install_pydevsup.sh b/base/install_pydevsup.sh new file mode 100755 index 0000000..c36fc6c --- /dev/null +++ b/base/install_pydevsup.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +set -ex + +. /opt/epics/install-functions.sh + +download_from_github mdavidsaver pyDevSup $PYDEVSUP_VERSION +echo PYTHON=python3 >> pyDevSup/configure/CONFIG_SITE +install_module pyDevSup PYDEVSUP " +EPICS_BASE +"