From: Lott, Christopher (cl778h) Date: Sun, 22 Mar 2020 11:29:16 +0000 (-0400) Subject: Report python dependencies for CLM analysis X-Git-Tag: 2.1.7~5 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F07%2F2907%2F10;p=ric-plt%2Fa1.git 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 --- 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