Cleanning README.rst, setup.py and auth/authform.py

This commit is contained in:
Jérôme Schneider 2011-10-07 22:56:41 +02:00
parent ef39fc9602
commit b606ca56dd
3 changed files with 17 additions and 9 deletions

View File

@ -18,11 +18,16 @@ version 3 for distribution.
Features
--------
TODO: rewrite this part
TODO: improve this part
* Dispatcher
* Filters (headers, cookies and data)
* Password replay (form, basic auth, ...)
* Filters: You can filter the request or the response with one or many filters.
You can serve static response in a filter.
There 3 types of filters:
* on_request
* on_response
* reponse
* Dispatcher: This will call the right filters
* Authentification management
* Sql and ldap authentification
* Authentification through Authentic2 idp (SAML2 and CAS)
@ -57,13 +62,17 @@ You must install the following packages to use Mandaye
From sources: http://pypi.python.org/pypi/Mako
* lxml 2.3.1::
From sources: http://pypi.python.org/pypi/lxml
You can install all those dependencies quickly using pip::
pip install gevent poster SQLAlchemy Beaker Mako
pip install gevent poster SQLAlchemy Beaker Mako lxml
or easy_install::
easy_install gevent poster SQLAlchemy Beaker Mako
easy_install gevent poster SQLAlchemy Beaker Mako lxml
Quick Start
-----------

View File

@ -1,4 +1,3 @@
import ipdb
"""
Dispatcher for basic auth form authentifications
"""
@ -13,7 +12,6 @@ from cookielib import CookieJar
from datetime import datetime
from lxml.html import fromstring
from urlparse import parse_qs
#from BeautifulSoup import BeautifulSoup
from mandaye.models import Site, ExtUser, LocalUser
from mandaye.http import HTTPResponse, HTTPHeader, HTTPRequest

View File

@ -27,6 +27,7 @@ setup(name="mandaye",
'poster>=0.8',
'pycrypto>=2.0',
'sqlalchemy>=0.6',
'BeautifulSoup'
'lxml>=2.0',
'static',
],
)