-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
64 lines (52 loc) · 1.58 KB
/
setup.py
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
"""
Flask-Mandrill
==============
A Flask Extension to remove some of the boiler plate encountered when
sending emails with `Mandrill <http://www.mandrill.com/>`_
Installation
````````````
.. code:: bash
$ pip install flask-mandrill
Usage
`````
.. code:: python
from flask import Flask
from flask.ext.mandrill import Mandrill
app = Flask(__name__)
app.config['MANDRILL_API_KEY'] = 'your api key'
mandrill = Mandrill(app)
mandrill.send_email(
from_email='[email protected]',
to=[{'email': '[email protected]'}],
text='Hello World'
)
"""
from setuptools import setup
setup(
name='Flask-Mandrill',
version='0.3',
url='http://github.com/volker48/flask-mandrill',
license='MIT',
author='Marcus McCurdy',
author_email='[email protected]',
description='Adds Mandrill support to Flask applications',
long_description=__doc__ + '\n\n' +
open('HISTORY.rst').read(),
py_modules=['flask_mandrill'],
zip_safe=False,
platforms='any',
install_requires=[
'Flask',
'requests'
],
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'
]
)