Commit 18631469 by Carlos Andrés Rocha

Cleanup requirements and settings.

Minor cleanup of django settings files and python requirements.

Change-Id: I1fb1b83960601b0ed50bcca4925a80a9cfb30d64
parent 2d590a10
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
from os.path import join, normpath from os.path import join, normpath
from base import * from analyticsdataserver.settings.base import *
########## DEBUG CONFIGURATION ########## DEBUG CONFIGURATION
......
"""Logging configuration"""
import os import os
import platform import platform
import sys import sys
......
"""Production settings and globals.""" """Production settings and globals."""
from os import environ from os import environ
from base import *
import yaml
from analyticsdataserver.logsettings import get_logger_config
# Normally you should not import ANYTHING from Django directly # Normally you should not import ANYTHING from Django directly
# into your settings, but ImproperlyConfigured is an exception. # into your settings, but ImproperlyConfigured is an exception.
from django.core.exceptions import ImproperlyConfigured from django.core.exceptions import ImproperlyConfigured
import yaml
from analyticsdataserver.settings.base import *
from analyticsdataserver.settings.logger import get_logger_config
LOGGING = get_logger_config() LOGGING = get_logger_config()
......
from base import * """Test settings and globals."""
from analyticsdataserver.settings.base import *
########## IN-MEMORY TEST DATABASE ########## IN-MEMORY TEST DATABASE
DATABASES = { DATABASES = {
......
# This file is here because many Platforms as a Service look for
# requirements.txt in the root directory of a project.
-r requirements/production.txt
Django==1.4.12 Django==1.4.12
django-model-utils==1.4.0 Markdown==2.4.1
South==0.8.1 South==0.8.1
django-model-utils==1.4.0
djangorestframework==2.3.5 djangorestframework==2.3.5
Markdown==2.4.1
ipython==2.1.0 ipython==2.1.0
# Dependencies for building documentation
-r base.txt
Sphinx==1.2.1
...@@ -2,4 +2,3 @@ ...@@ -2,4 +2,3 @@
-r base.txt -r base.txt
-r test.txt -r test.txt
django-debug-toolbar==0.9.4 django-debug-toolbar==0.9.4
Sphinx==1.2b1
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# production that isn't in development. # production that isn't in development.
-r base.txt -r base.txt
gunicorn==0.17.4
MySQL-python==1.2.5 MySQL-python==1.2.5
path.py==5.2
PyYAML==3.11 PyYAML==3.11
gunicorn==0.17.4
path.py==5.2
# Test dependencies go here. # Test dependencies go here.
-r base.txt -r base.txt
coverage==3.7 coverage==3.7
nose==1.3.3
django-nose==1.2
pep8==1.5.7
pylint==1.2.1
diff-cover >= 0.2.1 diff-cover >= 0.2.1
django-nose==1.2
httpretty==0.8.0
mock==1.0.1 mock==1.0.1
nose==1.3.3
pep257==0.3.2 pep257==0.3.2
httpretty==0.8.0 pep8==1.5.7
requests==2.3.0 pylint==1.2.1
pytz==2012h pytz==2012h
requests==2.3.0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment