-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py
84 lines (72 loc) · 2.53 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
82
83
84
import os
from setuptools import find_packages
from setuptools import setup
NAME = 'PluggableAuthService'
here = os.path.abspath(os.path.dirname(__file__))
def _package_doc(name):
f = open(os.path.join(here, name))
return f.read()
_boundary = '\n\n'
with open('README.rst') as f:
README = f.read()
with open('CHANGES.rst') as f:
CHANGES = f.read()
README = (README + _boundary + CHANGES)
setup(
name='Products.%s' % NAME,
version=_package_doc('version.txt').strip(),
description='Pluggable Zope authentication / authorization framework',
long_description=README,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Plone',
'Framework :: Zope :: 5',
'Intended Audience :: Developers',
'License :: OSI Approved :: Zope Public License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Software Development',
'Topic :: System :: Systems Administration'
' :: Authentication/Directory',
],
keywords='web application server zope',
author='Zope Foundation and Contributors',
author_email='[email protected]',
url='https://productspluggableauthservice.readthedocs.io',
project_urls={
'Documentation': ('https://productspluggableauthservice.'
'readthedocs.io'),
'Issue Tracker': ('https://github.com/zopefoundation'
'/Products.PluggableAuthService/issues'),
'Sources': ('https://github.com/zopefoundation/'
'Products.PluggableAuthService'),
},
license='ZPL 2.1 (http://www.zope.org/Resources/License/ZPL-2.1)',
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
namespace_packages=['Products'],
zip_safe=False,
python_requires='>=3.8',
install_requires=[
'setuptools',
'Zope >= 5',
'AccessControl >= 4.0a1',
'Products.PluginRegistry >= 1.6',
'Products.GenericSetup >= 2.1.2',
'Products.Sessions',
'Products.StandardCacheManagers',
],
extras_require={
'ip_range': ['IPy'],
'docs': ['Sphinx', 'repoze.sphinx.autointerface'],
},
entry_points="""
[zope2.initialize]
Products.{} = Products.{}:initialize
""".format(NAME, NAME),
)