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
This commit is contained in:
Zhenguo Niu
2013-05-29 17:36:23 +08:00
parent 19431e4f95
commit 20bf3b603c
3 changed files with 27 additions and 2 deletions

9
requirements.txt Normal file
View File

@@ -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

16
test-requirements.txt Normal file
View File

@@ -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

View File

@@ -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]