Skip to content
Snippets Groups Projects
Commit 2afd88eb authored by Corné Lukken's avatar Corné Lukken
Browse files

Remove unused lofar-requirements.txt

parent c50f249d
No related branches found
No related tags found
1 merge request!556Remove unused lofar-requirements.txt
......@@ -8,7 +8,3 @@ RUN sudo apt-get -y update && \
sudo apt-get -y install telnet tmux traceroute vim xterm git && \
sudo aptitude clean && \
sudo aptitude autoclean
COPY lofar-requirements.txt /lofar-requirements.txt
RUN sudo pip3 install -r /lofar-requirements.txt && \
sudo pip3 cache purge
......@@ -9,14 +9,12 @@ RUN sudo apt-get install -y python3-dev libboost-python-dev pkg-config && sudo a
RUN sudo apt-get install -y rsync && sudo apt-get clean
RUN sudo apt-get install -y netcat && sudo apt-get clean
COPY lofar-device-base/lofar-requirements.txt /lofar-requirements.txt
# Manually install all requirements from the .txt as part of the base image
# This reduces runtime overhead as well as preventing issues around dependency
# installation for development builds (pip install ./ ignores requirements.txt)
COPY tmp/requirements.txt /tangostationcontrol-requirements.txt
RUN sudo pip3 install -r /tangostationcontrol-requirements.txt -r /lofar-requirements.txt
RUN sudo pip3 install -r /tangostationcontrol-requirements.txt
# install and use ephimerides and geodetic ("measures") tables for casacore.
# we install a _stub_ since the tables need to be deployed explicitly from within the software.
......
# Do not put tangostationcontrol dependencies here, only setup.py / __init__.py
......@@ -34,6 +34,7 @@ class HBATAntennaOffsets(object):
https://git.astron.nl/RD/lofar-referentie-vlak/-/blob/master/data/dts/dts.ipynb
https://git.astron.nl/ro/lofar/-/blob/master/MAC/Deployment/data/Coordinates/calc_hba_deltas.py
https://github.com/brentjens/lofar-antenna-positions/blob/master/lofarantpos/db.py#L208
"""
""" Model of the HBAT1 tile, as offsets of each antenna with respect to the reference center, in metres. """
......
......@@ -31,8 +31,7 @@ after the task finishes preventing the excessive downloading and installation
of dependencies.
The Tox environments in this project are configured to install any dependencies
listed in [test-requirements.txt](../test-requirements.txt) and
[lofar-requirements.txt](../../docker-compose/lofar-device-base/lofar-requirements.txt)
listed in [test-requirements.txt](../test-requirements.txt),
this can also easily be verified within our [configuration file](../tox.ini).
## Testing approach
......
......@@ -19,7 +19,6 @@ setenv =
envdir = {toxworkdir}/testenv
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/../docker-compose/lofar-device-base/lofar-requirements.txt
-r{toxinidir}/test-requirements.txt
commands_pre =
{envpython} --version
......@@ -105,7 +104,6 @@ commands = {envpython} -m build
[testenv:docs]
envdir = {toxworkdir}/docs
deps =
-r{toxinidir}/../docker-compose/lofar-device-base/lofar-requirements.txt
-r{toxinidir}/docs/docs-requirements.txt
commands =
sphinx-build --version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment