-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
executable file
·49 lines (42 loc) · 1.29 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
#!/usr/bin/env python
import os
import sys
from distutils.core import setup
import db_email_backend
if sys.argv[-1] == 'publish':
os.system("python setup.py sdist upload")
sys.exit()
long_description = open('README.md').read()
setup_args = dict(
name='django-db-email-backend',
version=db_email_backend.__version__,
description='Django email backend for storing messages to a database.',
long_description=long_description,
author='Jeremy Satterfield',
author_email='[email protected]',
url='https://github.com/jsatt/django-db-email-backend',
license="MIT License",
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Software Development',
],
packages=[
'db_email_backend',
'db_email_backend.migrations',
'db_email_backend.south_migrations'
],
install_requires=[
"django>=1.8",
"pytz",
],
)
if __name__ == '__main__':
setup(**setup_args)