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

Install dependencies for docs

parent b541e9b0
No related branches found
No related tags found
1 merge request!555Draft: Enable source code documentation
......@@ -4,22 +4,28 @@
import socket
import time
i = 1
UDP_IP = "127.0.0.1"
UDP_PORT = 5001
MESSAGE = "{}".format(i)
def main():
message = "{}".format(i)
i = 1
print(f"UDP target IP: {UDP_IP}")
print(f"UDP target port: {UDP_PORT}")
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) # create UDP socket
if __name__ == "__main__":
while True:
sock.sendto(bytes(MESSAGE, "utf-8"), (UDP_IP, UDP_PORT))
sock.sendto(bytes(message, "utf-8"), (UDP_IP, UDP_PORT))
i += 1
MESSAGE = "{}".format(i)
message = "{}".format(i)
# sleep for an arbitrary amount of time. Currently 0.2 settings for visual testing.
# sleep for an arbitrary amount of time. Currently 0.2 settings for
# visual testing.
time.sleep(0.2)
if __name__ == "__main__":
main()
......@@ -106,6 +106,7 @@ commands = {envpython} -m build
envdir = {toxworkdir}/docs
deps =
-r{toxinidir}/../docker-compose/lofar-device-base/lofar-requirements.txt
-r{toxinidir}/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