-
Notifications
You must be signed in to change notification settings - Fork 729
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (34 loc) · 1.21 KB
/
setup.py
File metadata and controls
39 lines (34 loc) · 1.21 KB
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
import os
from io import open
from setuptools import setup, find_packages
__version__ = None
with open('sendgrid/version.py') as f:
exec(f.read())
long_description = 'Please see our GitHub README'
if os.path.exists('README.txt'):
long_description = open('README.txt', 'r', encoding='utf-8').read()
def getRequires():
deps = ['python_http_client>=3.0']
return deps
setup(
name='sendgrid',
version=str(__version__),
author='Elmer Thomas, Yamil Asusta',
author_email='dx@sendgrid.com',
url='https://github.com/sendgrid/sendgrid-python/',
packages=find_packages(exclude=["temp*.py", "register.py", "test"]),
include_package_data=True,
license='MIT',
description='SendGrid library for Python',
long_description=long_description,
install_requires=getRequires(),
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
]
)