aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Makefile2
-rw-r--r--test/requirements.txt12
2 files changed, 13 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index 9f13e90d701..0369018af2f 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -73,7 +73,7 @@ PYTHON_EXTRA_DEPENDS=
endif
PYTHON_VENV_PATH=$(VPP_PYTHON_PREFIX)/virtualenv
-PYTHON_DEPENDS=$(PYTHON_EXTRA_DEPENDS) psutil faulthandler six scapy==2.4.0 pexpect cryptography subprocess32 cffi syslog-rfc5424-parser
+PYTHON_DEPENDS=$(PYTHON_EXTRA_DEPENDS) -r requirements.txt
SCAPY_SOURCE=$(shell find $(PYTHON_VENV_PATH) -name site-packages)
BUILD_COV_DIR=$(BR)/test-cov
diff --git a/test/requirements.txt b/test/requirements.txt
new file mode 100644
index 00000000000..7ae21f875fa
--- /dev/null
+++ b/test/requirements.txt
@@ -0,0 +1,12 @@
+cffi # MIT
+cryptography!=2.0 # BSD/Apache-2.0
+faulthandler; python_version < '3.3' # # BSD License (2 clause)
+flake8 # MIT
+ipaddress; python_version < '3.3' # PSF
+pexpect # ISC
+psutil # BSD
+pycodestyle # MIT (Expat license) https://pypi.org/project/pycodestyle/
+scapy==2.4.0; python_version >= '2.7' or python_version >= '3.4' # GPL2 https://github.com/secdev/scapy/blob/master/LICENSE
+six # MIT
+subprocess32 # PSF
+syslog_rfc5424_parser # ISC