Skip to content
Snippets Groups Projects
Commit fd1e5fe4 authored by Alexandre Ferland's avatar Alexandre Ferland
Browse files

drop flask 0.9 support, remove unused code

parent 50a3071a
Branches
Tags v1.0.0
No related merge requests found
......@@ -6,7 +6,6 @@ python:
env:
- FLASK=0.11
- FLASK=0.10.1
- FLASK=0.9
install:
- pip install Flask==$FLASK
- pip install -r dev_requirements.txt
......
......@@ -13,7 +13,7 @@ First, install Flask-SimpleLDAP:
$ pip install flask-simpleldap
Flask-SimpleLDAP depends, and will install for you, recent versions of Flask
(0.9 or later) and [pyldap](https://github.com/pyldap/pyldap). Flask-SimpleLDAP is compatible
(0.10.1 or later) and [pyldap](https://github.com/pyldap/pyldap). Flask-SimpleLDAP is compatible
with and tested on Python 2.7, 3.4 and 3.5.
Next, add a ``LDAP`` instance to your code and at least the three
......
......@@ -19,7 +19,7 @@ First, install Flask-SimpleLDAP:
$ pip install flask-simpleldap
Flask-SimpleLDAP depends, and will install for you, recent versions of Flask
(0.9 or later) and pyldap. Flask-SimpleLDAP is compatible
(0.10.1 or later) and pyldap. Flask-SimpleLDAP is compatible
with and tested on Python 2.7, 3.4 and 3.5.
Next, add a :class:`~flask_simpleldap.LDAP` to your code and at least the three
......
......@@ -8,11 +8,6 @@ from flask import abort, current_app, g, make_response, redirect, url_for, \
__all__ = ['LDAP']
try:
from flask import _app_ctx_stack as stack
except ImportError:
from flask import _request_ctx_stack as stack
class LDAPException(RuntimeError):
message = None
......
......@@ -21,7 +21,7 @@ setup(
include_package_data=True,
platforms='any',
install_requires=[
'Flask>=0.10',
'Flask>=0.10.1',
'pyldap'
],
classifiers=[
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment