diff options
| author | Zhenguo Niu <Niu.ZGlinux@gmail.com> | 2013-05-29 17:36:23 +0800 |
|---|---|---|
| committer | Zhenguo Niu <Niu.ZGlinux@gmail.com> | 2013-05-29 17:38:13 +0800 |
| commit | bac0718764ac5e7cc22adf24d035db0be0cf90d9 (patch) | |
| tree | 421ada3a47320135d028ea0267164c9b3dc3c211 | |
| parent | 443009270621cd6ed26d61315ecbc108cc96916e (diff) | |
| download | python-openstackclient-bac0718764ac5e7cc22adf24d035db0be0cf90d9.tar.gz | |
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
| -rw-r--r-- | requirements.txt (renamed from tools/pip-requires) | 0 | ||||
| -rw-r--r-- | test-requirements.txt (renamed from tools/test-requires) | 0 | ||||
| -rw-r--r-- | tools/install_venv.py | 4 | ||||
| -rw-r--r-- | tox.ini | 4 |
4 files changed, 4 insertions, 4 deletions
diff --git a/tools/pip-requires b/requirements.txt index fe30e2dd..fe30e2dd 100644 --- a/tools/pip-requires +++ b/requirements.txt diff --git a/tools/test-requires b/test-requirements.txt index 1eb2509c..1eb2509c 100644 --- a/tools/test-requires +++ b/test-requirements.txt diff --git a/tools/install_venv.py b/tools/install_venv.py index d247c023..a5891d67 100644 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -48,8 +48,8 @@ def print_help(): def main(argv): root = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) venv = os.path.join(root, ".venv") - pip_requires = os.path.join(root, "tools", "pip-requires") - test_requires = os.path.join(root, "tools", "test-requires") + pip_requires = os.path.join(root, "requirements.txt") + test_requires = os.path.join(root, "test-requirements.txt") py_version = "python%s.%s" % (sys.version_info[0], sys.version_info[1]) project = "python-openstackclient" install = install_venv.InstallVenv(root, venv, pip_requires, test_requires, @@ -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] |
