This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
Products.LDAPMultiPlugins/setup.py

62 lines
2.0 KiB
Python

import os
from setuptools import setup
from setuptools import find_packages
NAME = 'LDAPMultiPlugins'
here = os.path.abspath(os.path.dirname(__file__))
package = os.path.join(here, 'Products', NAME)
def _read(name):
f = open(os.path.join(package, name))
return f.read()
_boundary = '\n' + ('-' * 60) + '\n\n'
setup(name='Products.%s' % NAME,
version=_read('VERSION.txt').strip(),
description='LDAP-backed plugins for the Zope2 PluggableAuthService',
long_description=( _read('README.txt')
+ _boundary
+ _read('CHANGES.txt')
+ _boundary
+ "Download\n========"
),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Framework :: Zope2",
"Intended Audience :: Developers",
"License :: OSI Approved :: Zope Public License",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Site Management",
"Topic :: Software Development",
"Topic :: System :: Systems Administration :: Authentication/Directory :: LDAP",
],
keywords='web application server zope zope2 ldap',
author="Jens Vagelpohl and contributors",
author_email="jens@dataflake.org",
url="http://pypi.python.org/pypi/Products.%s" % NAME,
license="ZPL 2.1 (http://www.zope.org/Resources/License/ZPL-2.1)",
packages=find_packages(),
include_package_data=True,
namespace_packages=['Products'],
zip_safe=False,
install_requires=[
#Zope >= 2.9,
'setuptools',
'python-ldap >= 2.0.6',
'Products.LDAPUserFolder >= 2.9',
'Products.PluggableAuthService >= 1.4.0',
],
extras_require={
'exportimport': [
# Zope >= 2.10.0
'Products.GenericSetup >= 1.4.0'
]
},
entry_points="""
[zope2.initialize]
Products.%s = Products.%s:initialize
""" % (NAME, NAME),
)