-
Notifications
You must be signed in to change notification settings - Fork 26
/
setup.py
46 lines (40 loc) · 1.05 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
#!/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 = find_packages(exclude=("example_project",))
data_files = []
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,
package_dir={'sendgrid': 'sendgrid'},
package_data={'sendgrid': ['fixtures/initial_data.json']},
data_files=data_files,
long_description=long_description,
install_requires=[
'django>=1.3.1',
'South>=0.7.5',
],
)