Rename requires files to standard names.
The python community groks requirements.txt and test-requirements.txt as reasonably standard files. We should use those filenames to make our information more discoverable. Fixes bug 1179008 Change-Id: I50a7c46f880e4257fa31d7d322d7bf70b0f5d3a6
This commit is contained in:
parent
9d4db6f740
commit
3bbdcda9d2
@ -32,8 +32,8 @@ import platform
|
|||||||
|
|
||||||
ROOT = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
|
ROOT = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
|
||||||
VENV = os.path.join(ROOT, '.venv')
|
VENV = os.path.join(ROOT, '.venv')
|
||||||
PIP_REQUIRES = os.path.join(ROOT, 'tools', 'pip-requires')
|
PIP_REQUIRES = os.path.join(ROOT, 'requirements.txt')
|
||||||
TEST_REQUIRES = os.path.join(ROOT, 'tools', 'test-requires')
|
TEST_REQUIRES = os.path.join(ROOT, 'test-requirements.txt')
|
||||||
PY_VERSION = "python%s.%s" % (sys.version_info[0], sys.version_info[1])
|
PY_VERSION = "python%s.%s" % (sys.version_info[0], sys.version_info[1])
|
||||||
|
|
||||||
|
|
||||||
|
4
tox.ini
4
tox.ini
@ -7,8 +7,8 @@ setenv = VIRTUAL_ENV={envdir}
|
|||||||
LANGUAGE=en_US:en
|
LANGUAGE=en_US:en
|
||||||
LC_ALL=C
|
LC_ALL=C
|
||||||
|
|
||||||
deps = -r{toxinidir}/tools/pip-requires
|
deps = -r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/tools/test-requires
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands = python setup.py testr --testr-args='{posargs}'
|
commands = python setup.py testr --testr-args='{posargs}'
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user