aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanilo Šegan <danilo@segan.org>2012-08-10 13:49:21 +0200
committerDanilo Šegan <danilo@segan.org>2012-08-10 13:49:21 +0200
commit637ea5661a3b799436a657f23069b454f09ed667 (patch)
tree9f82301a4af36ff540d428804120af6123c13971
parent93878d5217e5f76b5d6d97d4d66b1eb20608d927 (diff)
Remove unneeded files.
-rw-r--r--README1
-rw-r--r--license_protected_downloads/wsgi_releases.py42
-rw-r--r--license_protected_downloads/wsgi_snapshots.py42
-rw-r--r--settings_releases.py16
-rw-r--r--settings_snapshots.py15
5 files changed, 1 insertions, 115 deletions
diff --git a/README b/README
index ea09c4e..92c17c8 100644
--- a/README
+++ b/README
@@ -34,6 +34,7 @@ Dependencies
............
libapache2-mod-xsendfile >= 0.10
+libapache2-mod-python
python-django >= 1.3.1
python-django-openid-auth
diff --git a/license_protected_downloads/wsgi_releases.py b/license_protected_downloads/wsgi_releases.py
deleted file mode 100644
index 2d30fff..0000000
--- a/license_protected_downloads/wsgi_releases.py
+++ /dev/null
@@ -1,42 +0,0 @@
-"""
-WSGI config for license_protected_downloads project.
-
-This module contains the WSGI application used by Django's development server
-and any production WSGI deployments. It should expose a module-level variable
-named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover
-this application via the ``WSGI_APPLICATION`` setting.
-
-Usually you will have the standard Django WSGI application here, but it also
-might make sense to replace the whole Django WSGI application with a custom one
-that later delegates to the Django one. For example, you could introduce WSGI
-middleware here, or combine a Django application with an application of another
-framework.
-
-"""
-import os
-import sys
-sys.path.append("/usr/lib/python2.7/dist-packages")
-sys.path.append("/usr/lib/pymodules/python2.7")
-sys.path.append("/usr/lib/python2.7")
-
-# NOTE: Set actual path to directory containing linaro-license-protection app
-sys.path.append("/srv/releases.linaro.org")
-sys.path.append("/srv/releases.linaro.org/linaro-license-protection")
-
-os.environ.setdefault(
- "DJANGO_SETTINGS_MODULE",
- "linaro-license-protection.settings_releases"
-)
-
-# This application object is used by any WSGI server configured to use this
-# file. This includes Django's development server, if the WSGI_APPLICATION
-# setting points here.
-#from django.core.wsgi import get_wsgi_application
-#application = get_wsgi_application()
-
-import django.core.handlers.wsgi
-application = django.core.handlers.wsgi.WSGIHandler()
-
-# Apply WSGI middleware here.
-# from helloworld.wsgi import HelloWorldApplication
-# application = HelloWorldApplication(application)
diff --git a/license_protected_downloads/wsgi_snapshots.py b/license_protected_downloads/wsgi_snapshots.py
deleted file mode 100644
index 08b585c..0000000
--- a/license_protected_downloads/wsgi_snapshots.py
+++ /dev/null
@@ -1,42 +0,0 @@
-"""
-WSGI config for license_protected_downloads project.
-
-This module contains the WSGI application used by Django's development server
-and any production WSGI deployments. It should expose a module-level variable
-named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover
-this application via the ``WSGI_APPLICATION`` setting.
-
-Usually you will have the standard Django WSGI application here, but it also
-might make sense to replace the whole Django WSGI application with a custom one
-that later delegates to the Django one. For example, you could introduce WSGI
-middleware here, or combine a Django application with an application of another
-framework.
-
-"""
-import os
-import sys
-sys.path.append("/usr/lib/python2.7/dist-packages")
-sys.path.append("/usr/lib/pymodules/python2.7")
-sys.path.append("/usr/lib/python2.7")
-
-# NOTE: Set actual path to directory containing linaro-license-protection app
-sys.path.append("/srv/snapshots.linaro.org")
-sys.path.append("/srv/snapshots.linaro.org/linaro-license-protection")
-
-os.environ.setdefault(
- "DJANGO_SETTINGS_MODULE",
- "linaro-license-protection.settings_snapshots"
-)
-
-# This application object is used by any WSGI server configured to use this
-# file. This includes Django's development server, if the WSGI_APPLICATION
-# setting points here.
-#from django.core.wsgi import get_wsgi_application
-#application = get_wsgi_application()
-
-import django.core.handlers.wsgi
-application = django.core.handlers.wsgi.WSGIHandler()
-
-# Apply WSGI middleware here.
-# from helloworld.wsgi import HelloWorldApplication
-# application = HelloWorldApplication(application)
diff --git a/settings_releases.py b/settings_releases.py
deleted file mode 100644
index 42e540b..0000000
--- a/settings_releases.py
+++ /dev/null
@@ -1,16 +0,0 @@
-from settings import *
-
-
-DATABASES = {
- 'default': {
- 'ENGINE': 'django.db.backends.sqlite3',
- 'NAME': '/srv/releases.linaro.org/db/licenses.db',
- 'USER': '',
- 'PASSWORD': '',
- 'HOST': '',
- 'PORT': '',
- }
-}
-
-TEMPLATE_DIRS = (os.path.join(PROJECT_ROOT, "templates_releases" ),)
-SERVED_PATHS = ['/srv/releases.linaro.org/www']
diff --git a/settings_snapshots.py b/settings_snapshots.py
deleted file mode 100644
index e0f9211..0000000
--- a/settings_snapshots.py
+++ /dev/null
@@ -1,15 +0,0 @@
-from settings import *
-
-DATABASES = {
- 'default': {
- 'ENGINE': 'django.db.backends.sqlite3',
- 'NAME': '/srv/snapshots.linaro.org/db/licenses.db',
- 'USER': '',
- 'PASSWORD': '',
- 'HOST': '',
- 'PORT': '',
- }
-}
-
-TEMPLATE_DIRS = (os.path.join(PROJECT_ROOT, "templates_snapshots" ),)
-SERVED_PATHS = ['/srv/snapshots.linaro.org/www']