From 20bf3b603c96840637e7db73e7706685834b13e3 Mon Sep 17 00:00:00 2001 From: Zhenguo Niu Date: Wed, 29 May 2013 17:36:23 +0800 Subject: [PATCH] Rename requires files to standard names. Rename tools/pip-requires to requirements.txt and tools/test-requires to test-requirements.txt. These are standard files, and tools in the general world are growing intelligence about them. Change-Id: I903213fda94a833335abaa7ad9a90bbb688ec15a Fixes: bug #1179008 --- requirements.txt | 9 +++++++++ test-requirements.txt | 16 ++++++++++++++++ tox.ini | 4 ++-- 3 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 requirements.txt create mode 100644 test-requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..fe30e2d --- /dev/null +++ b/requirements.txt @@ -0,0 +1,9 @@ +d2to1>=0.2.10,<0.3 +pbr>=0.5,<0.6 +cliff +keyring +pycrypto +python-glanceclient>=0.9.0,<2 +python-keystoneclient>=0.2,<1.0 +python-novaclient>=2 +python-cinderclient>=1 diff --git a/test-requirements.txt b/test-requirements.txt new file mode 100644 index 0000000..1eb2509 --- /dev/null +++ b/test-requirements.txt @@ -0,0 +1,16 @@ +# Install bounded pep8/pyflakes first, then let flake8 install +pep8==1.4.5 +pyflakes==0.7.2 +flake8==2.0 +hacking>=0.5.3,<0.6 + +distribute>=0.6.24 + +coverage +discover +fixtures>=0.3.12 +mock +openstack.nose_plugin +sphinx>=1.1.2 +testrepository>=0.0.13 +testtools>=0.9.26 diff --git a/tox.ini b/tox.ini index f6de18d..ece55df 100644 --- a/tox.ini +++ b/tox.ini @@ -6,8 +6,8 @@ setenv = VIRTUAL_ENV={envdir} LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=C -deps = -r{toxinidir}/tools/pip-requires - -r{toxinidir}/tools/test-requires +deps = -r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt commands = python setup.py testr --testr-args='{posargs}' [testenv:pep8]