Merge pull request #81 from normanjaeckel/Fixes_2

Some fixes. Update requirements.txt and setup.py.
This commit is contained in:
Oskar Hahn 2013-01-05 15:38:11 -08:00
commit 4a7badea8f
5 changed files with 11 additions and 10 deletions

View File

@ -3,7 +3,7 @@ python:
- "2.6"
- "2.7"
install:
- easy_install https://www.djangoproject.com/download/1.5b2/tarball/
- easy_install https://www.djangoproject.com/download/1.5c1/tarball/
- pip install -r requirements.txt --use-mirrors
- python extras/scripts/create_local_settings.py
script:

View File

@ -18,7 +18,11 @@ I. Installation on GNU/Linux and MacOSX using the Python Package Index (PyPI)
1. Check requirements:
Make sure that you have installed Python Programming Language 2
(>= 2.6) on your system.
(>= 2.6) on your system. You will also need the Python
development headers.
E. g. for Ubuntu run:
$ sudo apt-get install python-dev
2. Setup a virtual environment with virtualenv (optional):

View File

@ -260,7 +260,7 @@ class CreateView(PermissionMixin, _CreateView):
return self.apply_url
else:
raise ImproperlyConfigured(
"No URL to redirect to. Provide a apply_url.")
'No URL to redirect to. Please provide an apply_url.')
def form_invalid(self, form):
messages.error(self.request, _('Please check the form for errors.'))

View File

@ -1,7 +1,7 @@
Django==1.5b2
Django==1.5c1
django-mptt==0.5.5
reportlab==2.6
PIL==1.1.7
coverage==3.6b1
coverage==3.6b3
django-discover-runner==0.2.2
pep8==1.3.3
pep8==1.4

View File

@ -7,9 +7,6 @@
:license: GNU GPL, see LICENSE for more details.
"""
# for python 2.5 support
from __future__ import with_statement
from setuptools import setup
from setuptools import find_packages
from openslides import get_version
@ -43,7 +40,7 @@ setup(
'versiontools >= 1.6',
],
install_requires=[
'django >= 1.4',
'django >= 1.5',
'django-mptt',
'reportlab',
'pil',