forked from thedekel/flask-auth
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
83 lines (68 loc) · 2.07 KB
/
Copy pathsetup.py
File metadata and controls
83 lines (68 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
"""
==========
Flask-Auth
==========
Database-agnostic extension for Flask to support role-based authentication of
users.
Links
-----
* `Documentation <http://packages.python.org/Flask-Auth>`_
* `Repository <http://bitbucket.org/Shotca/flask-auth/>`_
* `Development version
<http://bitbucket.org/Shotca/flask-auth/get/tip.gz#egg=Flask-Auth-dev>`_
Revisions
---------
0.85
````
* Updated to Flask 0.8 new naming scheme of using flask.ext for sqlalchemy.
* Fixed issue with importing sqlalchemy models.
0.8
```
Major revision.
* Not storing the entire user in the session anymore (which was convenient but bad practice) but only its __dict__.
* As a result of the above, the get_current_user call is now gone and replaced by get_current_user_data call. Similar functionality to the original call can now be obtained by doing AuthUser.load_current_user().
* Created SQLAlchemy plug-and-play model using constructor.
* Small bugfixes.
0.7
```
Added tests, permission example, bunch of bugfixes.
0.6
```
Added permission model, added examples, first release on PyPI.
0.1 - 0.5
`````````
Logging in, session management, encryption, etc.
"""
from setuptools import setup
setup(
name='Flask-Auth',
version='0.85',
url='http://bitbucket.org/Shotca/flask-auth/',
license='MIT',
author='Lars de Ridder',
author_email='shotcage@gmail.com',
description='Auth extension for Flask.',
long_description=__doc__,
packages=[
'flaskext',
'flaskext.auth',
'flaskext.auth.models',
],
namespace_packages=['flaskext'],
zip_safe=False,
platforms='any',
install_requires=[
'Flask'
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
],
test_suite='test_auth.suite',
)