Skip to content

Commit

Permalink
Merge 65da543 into eecba2a
Browse files Browse the repository at this point in the history
  • Loading branch information
jfinkels committed Dec 16, 2016
2 parents eecba2a + 65da543 commit 84f5e08
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 20 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ before_install:
# file we will use.
- |
if [[ "$TRAVIS_PYTHON_VERSION" == "pypy" ]]; then
export REQUIREMENTS=requirements-test-pypy.txt
export REQUIREMENTS=requirements/test-pypy.txt
else
export REQUIREMENTS=requirements-test-cpython.txt
export REQUIREMENTS=requirements/test-cpython.txt
fi
install:
Expand All @@ -70,7 +70,7 @@ install:
pip install future
fi
# Install the requirements specific to Travis tests.
- pip install -r requirements-doc.txt
- pip install -r requirements/doc.txt
- pip install coveralls
# Install Flask-Restless so that it is available for the documentation build.
- python setup.py install
Expand Down
14 changes: 7 additions & 7 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ This application requires the following libraries to be installed:
* [mimerender][9] version 0.5.2 or greater

These requirements (and some additional optional packages) are also listed in
the `requirements.txt` file. Using `pip` is probably the easiest way to install
these:
the `requirements/install.txt` file. Using `pip` is probably the easiest way to
install these:

pip install -r requirements.txt
pip install -r requirements/install.txt

[8]: https://labix.org/python-dateutil
[9]: https://github.com/martinblech/mimerender
Expand All @@ -111,11 +111,11 @@ For information on how to use this extension, build the documentation here or

If your Python interpreter is `cpython`, run:

pip install -r requirements-test-cpython.txt
pip install -r requirements/test-cpython.txt

Otherwise, if your Python interpreter is `pypy`, run:

pip install -r requirements-test-pypy.txt
pip install -r requirements/test-pypy.txt

To run the tests:

Expand All @@ -129,10 +129,10 @@ the documentation:
* [Sphinx][10]
* [sphinxcontrib-httpdomain][11], version 1.1.7 or greater

These requirements are also listed in the `requirements-doc.txt` file. Using
These requirements are also listed in the `requirements/doc.txt` file. Using
`pip` is probably the easiest way to install these:

pip install -r requirements-doc.txt
pip install -r requirements/doc.txt

The documentation is written for Sphinx in [reStructuredText][12] files in the
`docs/` directory. Documentation for each class and function is provided in the
Expand Down
3 changes: 0 additions & 3 deletions requirements-packaging.txt

This file was deleted.

2 changes: 0 additions & 2 deletions requirements-test-cpython.txt

This file was deleted.

2 changes: 0 additions & 2 deletions requirements-test-pypy.txt

This file was deleted.

2 changes: 0 additions & 2 deletions requirements-test.txt

This file was deleted.

2 changes: 1 addition & 1 deletion requirements-doc.txt → requirements/doc.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-r requirements.txt
-r install.txt
sphinx
sphinxcontrib-httpdomain>=1.3.0
sphinx-issues
File renamed without changes.
3 changes: 3 additions & 0 deletions requirements/packaging.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-r install.txt
wheel
twine
2 changes: 2 additions & 0 deletions requirements/test-cpython.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-r test.txt
psycopg2
2 changes: 2 additions & 0 deletions requirements/test-pypy.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-r test.txt
psycopg2cffi
2 changes: 2 additions & 0 deletions requirements/test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-r install.txt
unittest2

0 comments on commit 84f5e08

Please sign in to comment.