Skip to content

Commit 213237f

Browse files
committed
Simplify requirements and fake SECRET_KEY for doc generation, re #57.
1 parent df32c09 commit 213237f

6 files changed

Lines changed: 41 additions & 20 deletions

File tree

.travis.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ before_install:
1818
- sudo apt-get install -qq libevent-dev libpq-dev
1919

2020
install:
21-
- pip install -r requirements.txt --use-mirrors
22-
- pip install -r client/requirements.txt --use-mirrors
23-
- pip install -r docs/requirements.txt --use-mirrors
24-
- pip install coveralls flake8 --use-mirrors
21+
- pip install -r dev_requirements.txt coveralls --use-mirrors
2522

2623
before_script:
2724
- "psql -c 'create database deis_testing;' -U postgres"
@@ -37,7 +34,7 @@ before_script:
3734
'PORT': '',
3835
}
3936
}
40-
SECRET_KEY = ')9$y9(@_r!+ai=ub)wsp2!!vsfaker7ke9!jaljgf1_@rw421='
37+
SECRET_KEY = 'TotallyFake-SECRET_KEY-ForTravisCI'
4138
EOF
4239
4340
script:

client/requirements.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

dev_requirements.txt

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Deis controller requirements
2+
azure>=0.7.0
3+
boto>=2.9.8
4+
Django>=1.5.1
5+
django-allauth>=0.12.0
6+
django-celery>=3.0.17
7+
django-json-field>=0.5.4
8+
django-yamlfield>=0.4
9+
djangorestframework>=2.3.6
10+
gevent==0.13.8
11+
gunicorn>=0.17.5
12+
paramiko>=1.10.1
13+
psycopg2>=2.5.1
14+
pyCrypto>=2.6
15+
PyYAML>=3.10
16+
South>=0.8.1
17+
18+
# Deis client requirements
19+
docopt>=0.6.1
20+
#PyYAML>=3.10
21+
requests>=1.2.3
22+
23+
# Deis documentation requirements
24+
Sphinx>=1.2b1
25+
sphinxcontrib-httpdomain>=1.1.8
26+
27+
# Run "make coverage" for the % of code exercised during tests
28+
coverage>=3.6
29+
30+
# Generates template documentation in the Django admin
31+
docutils>=0.11
32+
33+
# Run "make flake8" to check python syntax and style
34+
flake8>=2.0
35+

docs/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
# set up Django
2323
from deis import settings
2424
from django.core.management import setup_environ
25+
26+
if not settings.SECRET_KEY:
27+
settings.SECRET_KEY = 'TotallyFake-SECRET_KEY-ForSphinxDocs'
2528
setup_environ(settings)
2629

2730
# -- General configuration -----------------------------------------------------

docs/requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

requirements.txt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Deis' python library requirements
1+
# Deis controller requirements
22
azure>=0.7.0
33
boto>=2.9.8
44
Django>=1.5.1
@@ -14,12 +14,3 @@ psycopg2>=2.5.1
1414
pyCrypto>=2.6
1515
PyYAML>=3.10
1616
South>=0.8.1
17-
18-
# Run "make coverage" for the % of code exercised during tests
19-
# coverage>=3.6
20-
21-
# Generates template documentation in the Django admin
22-
# docutils>=0.11
23-
24-
# Run "make flake8" to check python syntax and style
25-
# flake8>=2.0

0 commit comments

Comments
 (0)