-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
81 lines (71 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
from setuptools import find_packages
from setuptools import setup
import os
version = '1.2.2.dev0'
tests_require = [
'unittest2',
'ftw.builder',
'ftw.testbrowser',
'ftw.testing',
'plone.app.testing',
'plone.rest',
'plone.restapi',
'requests',
'plone.testing',
'zope.configuration',
]
setup(name='ftw.tokenauth',
version=version,
description="Token Authentication for Plone",
long_description=open("README.rst").read() + "\n\n" + open(
os.path.join("docs", "HISTORY.txt")).read(),
classifiers=[
"Environment :: Web Environment",
'Framework :: Plone',
'Framework :: Plone :: 4.3',
"Intended Audience :: Developers",
'License :: OSI Approved :: GNU General Public License (GPL)',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
keywords='token authentication plone oauth2 jwt',
author='4teamwork AG',
author_email='mailto:[email protected]',
url='https://github.com/4teamwork/ftw.tokenauth',
license='GPL2',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['ftw'],
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
# Plone / Zope dependencies
'AccessControl',
'Plone',
'plone.api',
'plone.supermodel',
'Products.CMFCore',
'Products.CMFPlone',
'Products.PluggableAuthService',
'z3c.form',
'zExceptions',
'ZODB3',
'zope.component',
'zope.globalrequest',
'zope.interface',
'zope.schema',
'Zope2',
# Other dependencies
'cryptography < 3.4',
'ftw.profilehook',
'ftw.upgrade',
'ipaddress',
'PyJWT',
],
tests_require=tests_require,
extras_require=dict(tests=tests_require),
entry_points="""
# -*- Entry points: -*-
[z3c.autoinclude.plugin]
target = plone
""")