- Adding all the egg stuff
git-svn-id: http://svn.dataflake.org/svn/Products.LDAPMultiPlugins/trunk@1509 835909ba-7c00-0410-bfa4-884f43845301
This commit is contained in:
parent
5403514ec5
commit
91538bb9ea
|
@ -0,0 +1,6 @@
|
||||||
|
# See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
|
||||||
|
try:
|
||||||
|
__import__('pkg_resources').declare_namespace(__name__)
|
||||||
|
except ImportError:
|
||||||
|
from pkgutil import extend_path
|
||||||
|
__path__ = extend_path(__path__, __name__)
|
|
@ -0,0 +1 @@
|
||||||
|
(see Products/LDAPMultiPlugins/README.txt)
|
|
@ -0,0 +1,51 @@
|
||||||
|
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 _package_doc(name):
|
||||||
|
f = open(os.path.join(package, name))
|
||||||
|
return f.read()
|
||||||
|
|
||||||
|
VERSION = _package_doc('VERSION.txt').strip()
|
||||||
|
|
||||||
|
_boundary = '\n' + ('-' * 60) + '\n'
|
||||||
|
README = _package_doc('README.txt') + _boundary + _package_doc('CHANGES.txt')
|
||||||
|
|
||||||
|
setup(name='Products.%s' % NAME,
|
||||||
|
version=VERSION,
|
||||||
|
description='LDAP-backed plugins for the Zope2 PluggableAuthService',
|
||||||
|
long_description=README,
|
||||||
|
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://www.dataflake.org/software/ldapmultiplugins",
|
||||||
|
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.8",
|
||||||
|
"setuptools",
|
||||||
|
"Products.LDAPUserFolder >= 2.9",
|
||||||
|
],
|
||||||
|
entry_points="""
|
||||||
|
[zope2.initialize]
|
||||||
|
Products.LDAPMultiPlugins = Products.LDAPMultiPlugins:initialize
|
||||||
|
""",
|
||||||
|
)
|
||||||
|
|
Reference in New Issue