forked from vintasoftware/django-templated-email
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (47 loc) · 1.43 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
50
51
52
import os
import sys
from setuptools import setup, find_packages
DESCRIPTION = "A Django oriented templated / transaction email abstraction"
VERSION = '2.3.0'
LONG_DESCRIPTION = None
try:
LONG_DESCRIPTION = open('README.rst').read()
except:
pass
requirements = [
'django-render-block>=0.5',
'six>=1',
]
# python setup.py publish
if sys.argv[-1] == 'publish':
os.system("python setup.py sdist upload")
sys.exit()
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'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',
'Topic :: Software Development :: Libraries :: Python Modules',
'Framework :: Django',
]
setup(
name='django-templated-email',
version=VERSION,
packages=find_packages(exclude=("tests", "tests.*")),
include_package_data=True,
author='Bradley Whittington',
author_email='radbrad182@gmail.com',
url='http://github.com/vintasoftware/django-templated-email/',
license='MIT',
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
platforms=['any'],
classifiers=CLASSIFIERS,
install_requires=requirements,
)