forked from vinta/django-email-confirm-la
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
65 lines (55 loc) · 2.09 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
58
59
60
61
62
63
64
65
#!/usr/bin/env python
# coding: utf-8
import os
import sys
from setuptools import find_packages, setup
if sys.argv[-1] == 'wheel':
os.system('rm -rf dist/*')
os.system('pip install wheel')
os.system('python setup.py bdist_wheel')
sys.exit(0)
if sys.argv[-1] == 'publish':
os.system('python setup.py wheel')
os.system('pip install twine')
os.system('twine upload dist/*')
sys.exit(0)
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 :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Communications :: Email',
'Topic :: Internet',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
],
)