forked from vinta/django-email-confirm-la
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (48 loc) · 1.9 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
53
54
55
56
57
#!/usr/bin/env python
import os
import sys
from setuptools import find_packages, setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
version = __import__('email_confirm_la').get_version()
long_description = open('README.rst').read() + '\n\n' + open('CHANGES.rst').read()
license = open('LICENSE').read()
requirements_lines = [line.strip() for line in open('requirements.txt').readlines()]
install_requires = list(filter(None, requirements_lines))
setup(
name='django-email-confirm-la',
version=version,
description='Django email confirmation for any Model and any Field.',
long_description=long_description,
keywords=('django', 'email', 'mail', 'confirm', 'confirmation', 'content type'),
author='Vinta Chen',
author_email='[email protected]',
url='https://github.com/vinta/django-email-confirm-la',
license=license,
install_requires=install_requires,
include_package_data=True,
packages=find_packages(exclude=['test_project.*', 'test_project']),
test_suite='run_tests.main',
zip_safe=False,
classifiers=(
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Communications :: Email',
'Topic :: Internet',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
),
)