Report python dependencies for CLM analysis 02/3302/2
authorLott, Christopher (cl778h) <cl778h@att.com>
Thu, 16 Apr 2020 20:15:49 +0000 (16:15 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Thu, 16 Apr 2020 21:16:29 +0000 (17:16 -0400)
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) <cl778h@att.com>
Change-Id: Ic96e7f7940b39803c44655c9798bdd5dc98378ba

tox.ini

diff --git a/tox.ini b/tox.ini
index 0a286bf..0aaf152 100644 (file)
--- 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