forked from RyanBalfanz/django-sendgrid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (33 loc) · 916 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
32
33
34
35
36
37
38
39
40
#!/usr/bin/env python
import os
import sys
import codecs
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
import sendgrid as distmeta
packages, data_files = find_packages(exclude=("example_project",)), []
root_dir = os.path.dirname(__file__)
if root_dir != '':
os.chdir(root_dir)
src_dir = "sendgrid"
if os.path.exists("README.rst"):
long_description = codecs.open("README.rst", "r", "utf-8").read()
else:
long_description = "See http://ryanbalfanz.github.com/django-sendgrid/"
setup(
name='django-sendgrid',
version=distmeta.__version__,
description=distmeta.__doc__,
author=distmeta.__author__,
author_email=distmeta.__contact__,
url=distmeta.__homepage__,
platforms=["any"],
# license="BSD",
packages=packages,
data_files=data_files,
long_description=long_description,
)