Skip to content

Commit 7e88974

Browse files
syndbgericholscher
authored andcommitted
Organized requirements.
1 parent 08a2312 commit 7e88974

9 files changed

+13
-12
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ python:
33
- "2.7"
44
install:
55
- pip install flake8 stripe
6-
- pip install --allow-all-external --allow-unverified bzr --allow-unverified launchpadlib --allow-unverified lazr.authentication -r pip_requirements.txt
6+
- pip install --allow-all-external --allow-unverified bzr --allow-unverified launchpadlib --allow-unverified lazr.authentication -r requirements/pip.txt
77
- pip install coveralls
88
script:
99
#- flake8 `find . -iname "*.py" -not -ipath "*migration*"`

MANIFEST.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ include README.rst
44
include CHANGES
55
include LICENSE.mit
66
include MANIFEST.in
7-
include pip_requirements.txt
7+
recursive-include requirements *.txt
88
recursive-include docs *
99
recursive-include readthedocs *
1010
recursive-exclude readthedocs *.pyc

deploy/flask-redirects.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ def redirect_front():
5050

5151

5252
if __name__ == '__main__':
53-
app.run()
53+
app.run()

deploy/nginx-smoke-test.py

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def served_by_django(url):
2626
django = ('x-served' not in r.headers or r.headers['x-served'] == 'nginx-via-django')
2727
return all([status, django])
2828

29+
2930
def served_by_perl(url):
3031
"""Return True if url returns 200 and is served by Perl."""
3132
r = requests.get(url, allow_redirects=False)

docs/install.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Installation
44
=============
55

6-
Here is a step by step plan on how to install Read the Docs.
6+
Here is a step by step plan on how to install Read the Docs.
77
It will get you to a point of having a local running instance.
88

99
First, obtain Python_ and virtualenv_ if you do not already have them. Using a
@@ -41,7 +41,7 @@ Create a folder in here, and clone the repository::
4141
Next, install the dependencies using ``pip`` (included with virtualenv_)::
4242

4343
cd readthedocs.org
44-
pip install -r pip_requirements.txt
44+
pip install -r requirements/pip.txt
4545

4646
.. note::
4747

@@ -51,12 +51,12 @@ Next, install the dependencies using ``pip`` (included with virtualenv_)::
5151

5252
CFLAGS=-I/usr/local/opt/libxml2/include/libxml2 \
5353
LDFLAGS=-L/usr/local/opt/libxml2/lib \
54-
pip install -r pip_requirements.txt
54+
pip install -r requirements/pip.txt
5555

5656
.. note::
5757

5858
Linux users may find they need to install a few additional packages
59-
in order to successfully execute ``pip-install -r pip_requirements.txt``.
59+
in order to successfully execute ``pip-install -r requirements/pip.txt``.
6060
For example, a clean install of Ubuntu 14.04 LTS will require the
6161
following packages::
6262

fabfile-development.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def pip_requirements():
3131
"""Install pip requirements"""
3232
with cd(env.code_dir):
3333
with prefix("source %s/bin/activate" % (env.virtualenv)):
34-
run("pip install -r pip_requirements.txt")
34+
run("pip install -r requirements/pip.txt")
3535

3636

3737
def build_db():

deploy_requirements.txt requirements/deploy.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-r pip_requirements.txt
1+
-r pip.txt
22
psycopg2==2.4
33
gunicorn==19.1.0
44
pysolr==2.0.13

onebox_requirements.txt requirements/onebox.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-r pip_requirements.txt
1+
-r pip.txt
22
dnspython
33
gunicorn
44
#For resizing images

pip_requirements.txt requirements/pip.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Hack around bzr hosting
22

33
--allow-external bzr
4-
--allow-unverified bzr
4+
--allow-unverified bzr
55
--allow-external launchpadlib
6-
--allow-unverified launchpadlib
6+
--allow-unverified launchpadlib
77
--allow-external lazr.authentication
88
--allow-unverified lazr.authentication
99

0 commit comments

Comments
 (0)