From 40bfd965974dab6f31e3a35f2605f607d1148a52 Mon Sep 17 00:00:00 2001 From: "Lott, Christopher (cl778h)" Date: Sun, 22 Mar 2020 07:29:16 -0400 Subject: [PATCH] Report python dependencies for CLM analysis Define new environment 'clm' with command 'pip freeze' to report code and test dependencies with version strings as installed by tox for CLM analysis. Issue-ID: INT-24 Signed-off-by: Lott, Christopher (cl778h) Change-Id: I93ae9a819d98f41bcc0c87a693690f54843b2019 --- tox.ini | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tox.ini b/tox.ini index 2faf2c6..4d0a6a7 100644 --- a/tox.ini +++ b/tox.ini @@ -48,6 +48,11 @@ commands = flake8 setup.py a1 tests [flake8] extend-ignore = E501,E741,E731 +[testenv:clm] +# use pip to gather dependencies with versions for CLM analysis +whitelist_externals = sh +commands = sh -c 'pip freeze > requirements.txt' + # Docs # verbatim as asked for by the docs instructions: https://wiki.o-ran-sc.org/display/DOC/Configure+Repo+for+Documentation -- 2.16.6