Commit c1370558 authored by Elisabetta Giani's avatar Elisabetta Giani
Browse files

AT5-382: Install in editable mode the csp-lmc-common package to install also

lmcbaseclasses package and its dependencies.
parent 26e5d2a9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -13,12 +13,13 @@ name = "nexus-hosted"
# otherwise pytango will be recompiled.
numpy = "==1.17.2"
pytango = "==9.3.1"
lmcbaseclasses= ">=0.4.0"

# itango is added to make it easier to exercise the device in a CLI session,
# but it's not mandatory. If you remove itango, you should also remove the
# 'RUN ipython profile create' line from Dockerfile.
itango = "*"
future = "*"
lmcbaseclasses= ">=0.5.0"
# If you want to debug devices running in containers, add pydevd to the dependencies
# pydevd = "*"

+5 −4
Original line number Diff line number Diff line
@@ -3,8 +3,9 @@ FROM nexus.engageska-portugal.pt/ska-docker/ska-python-runtime:9.3.1 AS runtime

# create ipython profile to so that itango doesn't fail if ipython hasn't run yet
RUN ipython profile create
#install lmc-base-classes
USER root
RUN DEBIAN_FRONTEND=noninteractive pip3 install https://nexus.engageska-portugal.pt/repository/pypi/packages/ska-logging/0.2.1/ska_logging-0.2.1.tar.gz
RUN DEBIAN_FRONTEND=noninteractive pip3 install https://nexus.engageska-portugal.pt/repository/pypi/packages/lmcbaseclasses/0.5.0+d877800d/lmcbaseclasses-0.5.0+d877800d.tar.gz
#RUN python3 -m pip install --user pytest-forked
ENV PATH=/home/tango/.local/bin:$PATH
#install csp-lmc-common with dependencies
RUN python3 -m pip install -e . --user --extra-index-url https://nexus.engageska-portugal.pt/repository/pypi/simple

CMD ["/venv/bin/python", "/app/csp_lmc_common/CspMaster.py" ]