forked from sendgrid/sendgrid-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (24 loc) · 743 Bytes
/
setup.py
File metadata and controls
28 lines (24 loc) · 743 Bytes
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
import sys
from setuptools import setup, find_packages
__version__ = None
with open('sendgrid/version.py') as f:
exec(f.read())
def getRequires():
deps = ['smtpapi==0.2.0']
if sys.version_info < (2, 7):
deps.append('unittest2')
elif (3, 0) <= sys.version_info < (3, 2):
deps.append('unittest2py3k')
return deps
setup(
name='sendgrid',
version=str(__version__),
author='Yamil Asusta',
author_email='yamil@sendgrid.com',
url='https://github.com/sendgrid/sendgrid-python/',
packages=find_packages(),
license='MIT',
description='SendGrid library for Python',
long_description=open('./README.rst').read(),
install_requires=getRequires(),
)