From ebf321da6012fd48b62aec336b7cd5f6223f6780 Mon Sep 17 00:00:00 2001 From: "Lott, Christopher (cl778h)" Date: Thu, 16 Apr 2020 16:15:49 -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. Signed-off-by: Lott, Christopher (cl778h) Change-Id: Ic96e7f7940b39803c44655c9798bdd5dc98378ba --- tox.ini | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.16.6