-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
49 lines (45 loc) · 1.76 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
from setuptools import setup
from codecs import open
from os import path
from sys import version_info
import re
if version_info < (3, 5):
raise RuntimeError("aiohttp_sendgrid doesn't suppport Python < 3.5")
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst')) as f:
long_description = f.read()
with open(path.join(here, 'aiohttp_sendgrid', '__init__.py')) as f:
try:
version = re.findall(r"^__version__ = '([^']+)'$", f.read(), re.M)[0]
except IndexError:
raise RuntimeError('Unable to determine package version.')
setup(name='aiohttp_sendgrid',
version=version,
description='SendGrid mail send API wrapper',
long_description=long_description,
keywords='aiohttp sendgrid',
url='https://github.com/kurlov/aiohttp-sendgrid',
download_url='https://pypi.python.org/pypi/aiohttp-sendgrid',
author='Aleksandr Kurlov',
author_email='[email protected]',
license='MIT',
packages=['aiohttp_sendgrid'],
zip_safe=False,
include_package_data=True,
install_requires=['aiohttp>=2.3.7'],
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Operating System :: POSIX',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Communications :: Email',
'Topic :: Software Development :: Libraries :: Python Modules',
'Framework :: AsyncIO',
])