-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
84 lines (75 loc) · 2.68 KB
/
setup.py
File metadata and controls
84 lines (75 loc) · 2.68 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
74
75
76
77
78
79
80
81
82
83
84
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
version = '1.0.0'
long_description = '\n\n'.join([
open('docs/README.md').read() if open('docs/README.md', encoding='utf-8') else '',
open('CHANGES.rst').read() if open('CHANGES.rst', encoding='utf-8') else '',
])
setup(
name='c2.pas.aal2',
version=version,
description='WebAuthn Passkey Authentication for Plone - Modern passwordless login using biometrics and security keys',
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Plone',
'Framework :: Plone :: 5.2',
'Framework :: Plone :: 6.0',
'Framework :: Plone :: Addon',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: JavaScript',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Security',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Systems Administration :: Authentication/Directory',
],
keywords='Plone PAS authentication AAL2 security WebAuthn passkey FIDO2 biometric passwordless',
author='Your Organization',
author_email='admin@example.com',
url='https://github.com/your-org/c2.pas.aal2',
project_urls={
'Documentation': 'https://c2-pas-aal2.readthedocs.io/',
'Source': 'https://github.com/your-org/c2.pas.aal2',
'Tracker': 'https://github.com/your-org/c2.pas.aal2/issues',
},
license='GPLv2',
# src/ レイアウトの設定
package_dir={'': 'src'},
packages=find_packages(where='src'),
# 名前空間パッケージの宣言
namespace_packages=['c2', 'c2.pas'],
# ZCMLファイルを含める
include_package_data=True,
zip_safe=False,
# 依存関係
install_requires=[
'setuptools',
'Plone>=5.2',
'Products.PluggableAuthService',
'webauthn==2.7.0', # WebAuthn passkey authentication
'zope.annotation',
'zope.session',
'persistent',
],
extras_require={
'test': [
'pytest',
'pytest-cov',
],
},
# Python バージョン要件
python_requires='>=3.11',
# エントリーポイント
entry_points="""
[z3c.autoinclude.plugin]
target = plone
""",
)