forked from lingthio/Flask-User
-
Notifications
You must be signed in to change notification settings - Fork 0
/
approved_extension.txt
58 lines (35 loc) · 1.93 KB
/
approved_extension.txt
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
Request for Flask Extension Approval
0. An approved Flask extension requires a maintainer.
Maintainer: Ling Thio <[email protected]>
Repository: https://github.com/lingthio/flask-user
1. An approved Flask extension must provide exactly one package or module named flask_extensionname.
Module: flask_user
2. It must ship a testing suite that can either be invoked with make test or python setup.py test.
python setup.py test works in a brand new virtualenv
3. APIs of approved extensions will be checked for the following characteristics:
an approved extension has to support multiple applications running in the same Python process.
it must be possible to use the factory pattern for creating applications.
UserManager.__init__(app=None) sets self.app = app
UserManager.init_app(app) does NOT set self.app
4. The license must be BSD/MIT/WTFPL licensed.
BSD License
5. The naming scheme for official extensions is Flask-ExtensionName or ExtensionName-Flask.
Extension name: Flask-User
6. Approved extensions must define all their dependencies in the setup.py file
setup.py:
install_requires=[
'passlib', 'py-bcrypt', 'pycrypto',
'Flask', 'Flask-Babel', 'Flask-Login', 'Flask-Mail',
'Flask-SQLAlchemy', 'Flask-WTF'],
7. The extension must have documentation that uses one of the two Flask themes for Sphinx documentation.
See http://pythonhosted.org//Flask-User/
8. The setup.py description (and thus the PyPI description) has to link to...
The documentation: http://pythonhosted.org//Flask-User/
Home page: https://github.com/lingthio/flask-user
Bug track: https://github.com/lingthio/flask-user/issues
Development version: n/a
9. The zip_safe flag in the setup script must be set to False
setup.py:
zip_safe=False,
10. An extension currently has to support Python 2.6 as well as Python 2.7
Flask-Utils runs on Python 2.6, 2.7 and 3.3