-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
52 lines (47 loc) · 1.79 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
#!/usr/bin/env python3
from io import open
from setuptools import find_packages, setup
def read(f):
return open(f, 'r', encoding='utf-8').read()
setup(
name='django-multifactor-authentication',
keywords='django authentication multifactor mfa 2fa 3fa user signin signup otp google microsoft authenticator authy andotp whatsapp telegram yubikey twillio sendgrid nexmo sns',
version='2.1.0',
url='https://github.com/andrenerd/django-multifactor-authentication',
license='BSD',
description='Flexible authentication for web, mobile, desktop and hybrid apps. It can be used for 1fa, 2fa and mfa cases.',
long_description=read('README.md'),
long_description_content_type='text/markdown',
author='Andrei Vasin',
packages=find_packages(exclude=['tests', 'example']),
include_package_data=True,
install_requires=[
'django>=2.2, <4.0.0',
'phonenumbers>=8.0.0', # required by django-phonenumber-field only
'django-phonenumber-field>=3.0.1',
'django_otp>=0.4.3',
],
extras_require={
'api': ['djangorestframework>=3.10.3, <4.0.0'],
'twilio': ['twilio'],
'vonage': ['vonage'],
'amazon': ['boto3'],
# reserved # 'telegram': ['telethon'],
'authenticator': ['qrcode>=4.0'],
},
python_requires='>=3.5',
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
project_urls={
'Source': 'https://github.com/andrenerd/django-multifactor-authentication',
},
)