Browse Source

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
tags/2.14.0
Monty Taylor 6 years ago
parent
commit
3bbdcda9d2
4 changed files with 4 additions and 4 deletions
  1. 0
    0
      requirements.txt
  2. 0
    0
      test-requirements.txt
  3. 2
    2
      tools/install_venv.py
  4. 2
    2
      tox.ini

tools/pip-requires → requirements.txt View File


tools/test-requires → test-requirements.txt View File


+ 2
- 2
tools/install_venv.py View File

@@ -32,8 +32,8 @@ import platform
32 32
 
33 33
 ROOT = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
34 34
 VENV = os.path.join(ROOT, '.venv')
35
-PIP_REQUIRES = os.path.join(ROOT, 'tools', 'pip-requires')
36
-TEST_REQUIRES = os.path.join(ROOT, 'tools', 'test-requires')
35
+PIP_REQUIRES = os.path.join(ROOT, 'requirements.txt')
36
+TEST_REQUIRES = os.path.join(ROOT, 'test-requirements.txt')
37 37
 PY_VERSION = "python%s.%s" % (sys.version_info[0], sys.version_info[1])
38 38
 
39 39
 

+ 2
- 2
tox.ini View File

@@ -7,8 +7,8 @@ setenv = VIRTUAL_ENV={envdir}
7 7
          LANGUAGE=en_US:en
8 8
          LC_ALL=C
9 9
 
10
-deps = -r{toxinidir}/tools/pip-requires
11
-       -r{toxinidir}/tools/test-requires
10
+deps = -r{toxinidir}/requirements.txt
11
+       -r{toxinidir}/test-requirements.txt
12 12
 commands = python setup.py testr --testr-args='{posargs}'
13 13
 
14 14
 [testenv:pep8]

Loading…
Cancel
Save