-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
31 lines (26 loc) · 867 Bytes
/
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
from __future__ import division, print_function, unicode_literals
import ast
import re
from setuptools import setup
_version_re = re.compile(r"__version__\s+=\s+(.*)")
with open("espwrap/__init__.py", "rb") as f:
version = str(ast.literal_eval(_version_re.search(f.read().decode("utf-8")).group(1)))
setup(
name="espwrap",
version=version,
description="A light wrapper around email service providers",
url="https://github.com/SpotOnInc/espwrap",
download_url="https://github.com/SpotOnInc/espwrap/{0}".format(version),
license="MIT",
author="SpotOn",
author_email="josh@spoton.com",
packages=[str("espwrap"), str("espwrap.adaptors")],
platforms="any",
extras_require={
"mandrill": ["mandrill>=1.0.57"],
"sendgrid": [
"smtpapi>=0.3.1",
"sendgrid==6.9.7",
],
},
)