From: Lott, Christopher (cl778h) Date: Thu, 16 Apr 2020 20:15:49 +0000 (-0400) Subject: Report python dependencies for CLM analysis X-Git-Tag: 1.0.2~4 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=ebf321da6012fd48b62aec336b7cd5f6223f6780;p=ric-plt%2Fxapp-frame-py.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. Signed-off-by: Lott, Christopher (cl778h) Change-Id: Ic96e7f7940b39803c44655c9798bdd5dc98378ba --- diff --git a/tox.ini b/tox.ini index 0a286bf..0aaf152 100644 --- a/tox.ini +++ b/tox.ini @@ -42,6 +42,11 @@ commands = flake8 setup.py ricxappframe 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 > clm.txt' + # doc jobs [testenv:docs] whitelist_externals = echo