From ac5c5537b1fb521fd1ff54edc3d6b581c3378628 Mon Sep 17 00:00:00 2001 From: Chandan Kumar Date: Wed, 30 Nov 2016 18:49:26 +0530 Subject: [PATCH] Added bindep.txt to the project It allows to avoid installing unnecessary packages while preparing enviroment for testing. Change-Id: I6b993b2c2fd56c7517e6cc41efc07bf4a83ff945 --- bindep.txt | 11 +++++++++++ tox.ini | 9 +++++++++ 2 files changed, 20 insertions(+) create mode 100644 bindep.txt diff --git a/bindep.txt b/bindep.txt new file mode 100644 index 0000000000..6a2834803b --- /dev/null +++ b/bindep.txt @@ -0,0 +1,11 @@ +# This file contains runtime (non-python) dependencies +# More info at: http://docs.openstack.org/infra/bindep/readme.html + +libffi-dev [platform:dpkg] +libffi-devel [platform:rpm] +gcc [platform:rpm] +gcc [platform:dpkg] +python-dev [platform:dpkg] +python-devel [platform:rpm] +openssl-devel [platform:rpm] +libssl-dev [platform:dpkg] diff --git a/tox.ini b/tox.ini index 82dba922a8..7a21b1fa2b 100644 --- a/tox.ini +++ b/tox.ini @@ -161,3 +161,12 @@ deps = pip_check_reqs commands= pip-extra-reqs -d --ignore-file=tempest/tests/* tempest pip-missing-reqs -d --ignore-file=tempest/tests/* tempest + + +[testenv:bindep] +# Do not install any requirements. We want this to be fast and work even if +# system dependencies are missing, since it's used to tell you what system +# dependencies are missing! This also means that bindep must be installed +# separately, outside of the requirements files. +deps = bindep +commands = bindep test