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) <cl778h@att.com>
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 @@
[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