forked from collective/collective.googleauthenticator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·73 lines (68 loc) · 2.14 KB
/
Copy pathsetup.py
File metadata and controls
executable file
·73 lines (68 loc) · 2.14 KB
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
66
67
68
69
70
71
72
73
from setuptools import setup, find_packages
import os
version = '1.0.0.dev0'
try:
readme = open('README.rst').read()
readme = readme.replace('.. image:: _static', '.. figure:: https://github.com/IMIO/imio.googleauthenticator/raw/master/docs/_static')
except:
readme = ''
try:
changelog = open('CHANGES.rst').read()
except:
changelog = ''
long_description = (
readme
+ '\n' +
#'Contributors\n'
#'============\n'
#+ '\n' +
#open('CONTRIBUTORS.txt').read()
#+ '\n' +
changelog
+ '\n')
setup(
name = 'imio.googleauthenticator',
version = version,
description = "Two-step verification for Plone 4 using the Google Authenticator app.",
long_description = long_description,
# Get more strings from
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers = [
"Environment :: Web Environment",
"Framework :: Plone",
"Framework :: Plone :: 4.3",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords = 'google authenticator, two-step verification, multi-factor authentication, two-factor authentication',
author = 'iMio',
author_email = 'support-docs@imio.be',
url = 'https://github.com/IMIO/imio.googleauthenticator',
license = 'GPL',
packages = find_packages('src'),
package_dir = {'': 'src'},
namespace_packages = ['imio', ],
include_package_data = True,
zip_safe = False,
install_requires = [
'setuptools',
# -*- Extra requirements: -*-
'plone.api>=1.1.0',
'plone.directives.form>=1.1',
'onetimepass==0.2.2',
'ska>=1.1',
'cryptography==3.3.2',
'ipaddress==1.0.23',
'qrcode==6.1',
'Pillow',
],
extras_require = {'test': ['plone.app.testing', 'plone.app.robotframework']},
entry_points = """
# -*- Entry points: -*-
[z3c.autoinclude.plugin]
target = plone
""",
)